summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/mr75203.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-11-06 20:34:16 +0100
committerGuenter Roeck <linux@roeck-us.net>2022-12-05 01:45:02 +0100
commit25f986887dd54a93edcc5cb499b2e42f4d9c359c (patch)
tree6cc3903df75ea1dd1b8af9772acbb01fd8e96c75 /drivers/hwmon/mr75203.c
parentdocs: hwmon: (smpro-hwmon) Improve grammar and formatting (diff)
downloadlinux-25f986887dd54a93edcc5cb499b2e42f4d9c359c.tar.xz
linux-25f986887dd54a93edcc5cb499b2e42f4d9c359c.zip
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/mr75203.c')
-rw-r--r--drivers/hwmon/mr75203.c1
1 files changed, 1 insertions, 0 deletions
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>