summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-25 13:41:56 +0100
committerGuenter Roeck <linux@roeck-us.net>2024-04-28 19:08:19 +0200
commit9c3793629d7aa40cc07ac9dafc6df0bb21593585 (patch)
treef15fdcd8afdc6af177fd98f3982b85a1a62d605f /drivers/hwmon
parenthwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist (diff)
downloadlinux-9c3793629d7aa40cc07ac9dafc6df0bb21593585.tar.xz
linux-9c3793629d7aa40cc07ac9dafc6df0bb21593585.zip
hwmon: (pmbus/adp1050) Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240325124156.3036266-1-andriy.shevchenko@linux.intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/pmbus/adp1050.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hwmon/pmbus/adp1050.c b/drivers/hwmon/pmbus/adp1050.c
index 0a49bea8e13b..ea08554662d5 100644
--- a/drivers/hwmon/pmbus/adp1050.c
+++ b/drivers/hwmon/pmbus/adp1050.c
@@ -5,12 +5,10 @@
* Copyright (C) 2024 Analog Devices, Inc.
*/
#include <linux/bits.h>
-#include <linux/err.h>
#include <linux/i2c.h>
-#include <linux/init.h>
-#include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of.h>
+
#include "pmbus.h"
static struct pmbus_driver_info adp1050_info = {