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>
Este commit está contenido en:

cometido por
Guenter Roeck

padre
24edc0a71b
commit
179c4fdb56
@@ -683,7 +683,7 @@ static ssize_t sht15_store_heater(struct device *dev,
|
||||
long value;
|
||||
u8 status;
|
||||
|
||||
if (strict_strtol(buf, 10, &value))
|
||||
if (kstrtol(buf, 10, &value))
|
||||
return -EINVAL;
|
||||
|
||||
mutex_lock(&data->read_lock);
|
||||
|
Referencia en una nueva incidencia
Block a user