mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
c4f99a2b8f
commit
e3cd9528af
1 changed files with 6 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue