public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] hwmon: pmbus: adp1050: Don't use "proxy" headers
@ 2024-03-25 12:41 Andy Shevchenko
  2024-03-25 16:27 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-03-25 12:41 UTC (permalink / raw)
  To: Andy Shevchenko, Radu Sabau, linux-hwmon, linux-kernel
  Cc: Jean Delvare, Guenter Roeck

Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-25 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 12:41 [PATCH v1 1/1] hwmon: pmbus: adp1050: Don't use "proxy" headers Andy Shevchenko
2024-03-25 16:27 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox