projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: replaced strict_str* with kstr*
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
w83793.c
diff --git
a/drivers/hwmon/w83793.c
b/drivers/hwmon/w83793.c
index 854f9117f1aac2f976f91e5b9b45b13f39298a92..3cc6fef22087b19d03770b94a81d303b26d5afab 100644
(file)
--- a/
drivers/hwmon/w83793.c
+++ b/
drivers/hwmon/w83793.c
@@
-450,7
+450,7
@@
store_chassis_clear(struct device *dev,
unsigned long val;
u8 reg;
- if (
strict_
strtoul(buf, 10, &val) || val != 0)
+ if (
k
strtoul(buf, 10, &val) || val != 0)
return -EINVAL;
mutex_lock(&data->update_lock);