]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm75) fix checkpatch warning
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Tue, 3 Jan 2012 11:02:41 +0000 (12:02 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 5 Jan 2012 16:19:33 +0000 (08:19 -0800)
commitc0ddfd4559462d256c1e1a82830089046827a68d
tree0ab30c8cdb9f373a11140356c410254cb6fce54b
parent52d8512297f9c0b4014e6f0431efcbaf5248945a
hwmon: (lm75) fix checkpatch warning

Fixed this:

WARNING: strict_strtol is obsolete, use kstrtol instead
+   error = strict_strtol(buf, 10, &temp);

by replacing strict_strtol with kstrtol.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lm75.c