summaryrefslogtreecommitdiff
path: root/drivers/hwmon/hwmon.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-08 22:34:18 +0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-19 05:26:31 +0400
commit08f509077499907c8bae59818771ce18d3179aa9 (patch)
tree2c7855e24158a1860ab66ae09a92a1a3a4bebd53 /drivers/hwmon/hwmon.c
parent4d7c5d4f40246f0f50767a1fe6445e067a972c64 (diff)
downloadlinux-08f509077499907c8bae59818771ce18d3179aa9.tar.xz
hwmon: (adm1029) fix checkpatch issues
fixed: ERROR: space prohibited after that open parenthesis '(' +#define DIV_FROM_REG(val) ( 1 << (((val) >> 6) - 1)) WARNING: simple_strtol is obsolete, use kstrtol instead + long val = simple_strtol(buf, NULL, 10); ERROR: do not use assignment in if condition + if ((err = sysfs_create_group(&client->dev.kobj, &adm1029_group))) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/hwmon.c')
0 files changed, 0 insertions, 0 deletions