hwmon: replaced strict_str* with kstr*
replaced strict_strtol with kstrtol and replaced strict_strtuol with kstrtuol This satisfies checkpatch -f Compile tested only: no warnings or errors given Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
This commit is contained in:

committed by
Guenter Roeck

parent
24edc0a71b
commit
179c4fdb56
@@ -50,7 +50,7 @@ static ssize_t set_temp(struct device *dev, struct device_attribute *da,
|
||||
long temp;
|
||||
short value;
|
||||
|
||||
int status = strict_strtol(buf, 10, &temp);
|
||||
int status = kstrtol(buf, 10, &temp);
|
||||
if (status < 0)
|
||||
return status;
|
||||
|
||||
|
Reference in New Issue
Block a user