[PATCH] hwmon: Remove some useless #include <linux/hwmon-vid.h>

Christophe JAILLET posted 1 patch 3 years, 5 months ago
drivers/hwmon/vt8231.c    | 1 -
drivers/hwmon/w83l786ng.c | 1 -
2 files changed, 2 deletions(-)
[PATCH] hwmon: Remove some useless #include <linux/hwmon-vid.h>
Posted by Christophe JAILLET 3 years, 5 months ago
<linux/hwmon-vid.h> is not needed for these drivers. Remove the
corresponding #include.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/hwmon/vt8231.c    | 1 -
 drivers/hwmon/w83l786ng.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c
index 3b7f8922b0d5..b7c6392ba673 100644
--- a/drivers/hwmon/vt8231.c
+++ b/drivers/hwmon/vt8231.c
@@ -22,7 +22,6 @@
 #include <linux/platform_device.h>
 #include <linux/hwmon.h>
 #include <linux/hwmon-sysfs.h>
-#include <linux/hwmon-vid.h>
 #include <linux/err.h>
 #include <linux/mutex.h>
 #include <linux/acpi.h>
diff --git a/drivers/hwmon/w83l786ng.c b/drivers/hwmon/w83l786ng.c
index 2c4646fa8426..5597e1c2d95c 100644
--- a/drivers/hwmon/w83l786ng.c
+++ b/drivers/hwmon/w83l786ng.c
@@ -16,7 +16,6 @@
 #include <linux/slab.h>
 #include <linux/i2c.h>
 #include <linux/hwmon.h>
-#include <linux/hwmon-vid.h>
 #include <linux/hwmon-sysfs.h>
 #include <linux/err.h>
 #include <linux/mutex.h>
-- 
2.34.1
Re: [PATCH] hwmon: Remove some useless #include <linux/hwmon-vid.h>
Posted by Guenter Roeck 3 years, 4 months ago
On Sun, Nov 13, 2022 at 10:13:16AM +0100, Christophe JAILLET wrote:
> <linux/hwmon-vid.h> is not needed for these drivers. Remove the
> corresponding #include.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Applied to hwmon-next.

Thanks,
Guenter