diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-11-06 22:34:16 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-12-05 03:45:02 +0300 |
commit | 25f986887dd54a93edcc5cb499b2e42f4d9c359c (patch) | |
tree | 6cc3903df75ea1dd1b8af9772acbb01fd8e96c75 /drivers/hwmon | |
parent | c1cb98c55f470447479298aaec7f92219562613e (diff) | |
download | linux-25f986887dd54a93edcc5cb499b2e42f4d9c359c.tar.xz |
hwmon: Include <linux/kstrtox.h> when appropriate
The kstrto<something>() functions have been moved from kernel.h to
kstrtox.h.
So, include the latter directly in the appropriate files.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/51688cf50bda44e2731381a31287c62319388783.1667763218.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/atxp1.c | 1 | ||||
-rw-r--r-- | drivers/hwmon/gpio-fan.c | 1 | ||||
-rw-r--r-- | drivers/hwmon/hwmon.c | 1 | ||||
-rw-r--r-- | drivers/hwmon/lm90.c | 1 | ||||
-rw-r--r-- | drivers/hwmon/mr75203.c | 1 | ||||
-rw-r--r-- | drivers/hwmon/pcf8591.c | 1 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/q54sj108a2.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hwmon/atxp1.c b/drivers/hwmon/atxp1.c index 4fd8de8022bc..118297ea1dcf 100644 --- a/drivers/hwmon/atxp1.c +++ b/drivers/hwmon/atxp1.c @@ -16,6 +16,7 @@ #include <linux/hwmon.h> #include <linux/hwmon-vid.h> #include <linux/err.h> +#include <linux/kstrtox.h> #include <linux/mutex.h> #include <linux/sysfs.h> #include <linux/slab.h> diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c index ba408942dbe7..e75db6f64e8c 100644 --- a/drivers/hwmon/gpio-fan.c +++ b/drivers/hwmon/gpio-fan.c @@ -14,6 +14,7 @@ #include <linux/irq.h> #include <linux/platform_device.h> #include <linux/err.h> +#include <linux/kstrtox.h> #include <linux/mutex.h> #include <linux/hwmon.h> #include <linux/gpio/consumer.h> diff --git a/drivers/hwmon/hwmon.c b/drivers/hwmon/hwmon.c index 4218750d5a66..33edb5c02f7d 100644 --- a/drivers/hwmon/hwmon.c +++ b/drivers/hwmon/hwmon.c @@ -15,6 +15,7 @@ #include <linux/gfp.h> #include <linux/hwmon.h> #include <linux/idr.h> +#include <linux/kstrtox.h> #include <linux/list.h> #include <linux/module.h> #include <linux/pci.h> diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index a3f95ba00dbf..6498d5acf705 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c @@ -103,6 +103,7 @@ #include <linux/interrupt.h> #include <linux/jiffies.h> #include <linux/hwmon.h> +#include <linux/kstrtox.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/of_device.h> diff --git a/drivers/hwmon/mr75203.c b/drivers/hwmon/mr75203.c index 394a4c7e46ab..50a8b9c3f94d 100644 --- a/drivers/hwmon/mr75203.c +++ b/drivers/hwmon/mr75203.c @@ -11,6 +11,7 @@ #include <linux/clk.h> #include <linux/debugfs.h> #include <linux/hwmon.h> +#include <linux/kstrtox.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/mutex.h> diff --git a/drivers/hwmon/pcf8591.c b/drivers/hwmon/pcf8591.c index af9614e918a4..1dbe209ae13f 100644 --- a/drivers/hwmon/pcf8591.c +++ b/drivers/hwmon/pcf8591.c @@ -14,6 +14,7 @@ #include <linux/mutex.h> #include <linux/err.h> #include <linux/hwmon.h> +#include <linux/kstrtox.h> /* Insmod parameters */ diff --git a/drivers/hwmon/pmbus/q54sj108a2.c b/drivers/hwmon/pmbus/q54sj108a2.c index fa298b4265a1..d3ba12951324 100644 --- a/drivers/hwmon/pmbus/q54sj108a2.c +++ b/drivers/hwmon/pmbus/q54sj108a2.c @@ -8,6 +8,7 @@ #include <linux/debugfs.h> #include <linux/i2c.h> +#include <linux/kstrtox.h> #include <linux/module.h> #include <linux/of_device.h> #include "pmbus.h" |