Skip to contentSkip to conversation

hwmon: (lm75) remove now-unused include

PATCH Applied Luca Ceresoli 2 participants 2 messages Dec 28, 2023 – Dec 31, 2023 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (lm75) remove now-unused include

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").

---
 drivers/hwmon/lm75.c | 1 -
 1 file changed, 1 deletion(-)
drivers/hwmon/lm75.c +0 -1
index 5b2ea05c951e..dbabef2c2402 100644
@@ -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,

Signature · 1 line
Luca Ceresoli <[email protected]>
maintainer Applied
#1 lore raw
Quoted 5 lines · Luca Ceresoli

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").

Applied.

Thanks,
Guenter