]> 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)
commitf4aacaef082bba7b317548cdffb8d6081bad4605
tree0ab30c8cdb9f373a11140356c410254cb6fce54b
parentabfd8426d736d4ce288ee0c4031110a6fc7c3e93
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