hwmon: (lm75) remove now-unused include

Message ID 20231228-hwmon-cleanup-include-v1-1-e36f65aee1f0@bootlin.com
State New
Headers
Series hwmon: (lm75) remove now-unused include |

Commit Message

Luca Ceresoli Dec. 28, 2023, 4:27 p.m. UTC
  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(-)


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

Best regards,
  

Comments

Guenter Roeck Dec. 31, 2023, 6:11 p.m. UTC | #1
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
  

Patch

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>