[PATCH] hwmon: (lm75) remove now-unused include

Luca Ceresoli posted 1 patch 1 year, 12 months ago
drivers/hwmon/lm75.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] hwmon: (lm75) remove now-unused include
Posted by Luca Ceresoli 1 year, 12 months ago
Including hwmon-sysfs.h is not needed since sysfs code got removed from
this file in commit 08b024338166 ("hwmon: (lm75) Convert to use new hwmon
registration API").

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 drivers/hwmon/lm75.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index 5b2ea05c951e..dbabef2c2402 100644
--- a/drivers/hwmon/lm75.c
+++ b/drivers/hwmon/lm75.c
@@ -11,7 +11,6 @@
 #include <linux/jiffies.h>
 #include <linux/i2c.h>
 #include <linux/hwmon.h>
-#include <linux/hwmon-sysfs.h>
 #include <linux/err.h>
 #include <linux/of.h>
 #include <linux/regmap.h>

---
base-commit: 0882168ccf0a8d7a7e61fceb610dcfb196e4724b
change-id: 20231228-hwmon-cleanup-include-86e22b433436

Best regards,
-- 
Luca Ceresoli <luca.ceresoli@bootlin.com>
Re: [PATCH] hwmon: (lm75) remove now-unused include
Posted by Guenter Roeck 1 year, 12 months ago
On Thu, Dec 28, 2023 at 05:27:16PM +0100, Luca Ceresoli wrote:
> Including hwmon-sysfs.h is not needed since sysfs code got removed from
> this file in commit 08b024338166 ("hwmon: (lm75) Convert to use new hwmon
> registration API").
> 
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Applied.

Thanks,
Guenter