[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240325124156.3036266-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 25 Mar 2024 14:41:56 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Radu Sabau <radu.sabau@...log.com>,
linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH v1 1/1] 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@...ux.intel.com>
---
drivers/hwmon/pmbus/adp1050.c | 6 ++----
1 file 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 = {
--
2.43.0.rc1.1.gbec44491f096
Powered by blists - more mailing lists