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 <[email protected]>
---
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 <[email protected]>
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 <[email protected]>
Applied.
Thanks,
Guenter