Skip to content
Commit e3cd9528 authored by Shubhrajyoti D's avatar Shubhrajyoti D Committed by Jean Delvare
Browse files

hwmon: (lm75) Make the writing to sysfs more robust



Currently we get the checkpatch warning
consider using strict_strtol in preference to simple_strtol.
Also we should not allow any partially numeric values.

Signed-off-by: default avatarShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent c4f99a2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment