From: Frans Meulenbroeks Date: Sun, 8 Jan 2012 18:34:18 +0000 (+0100) Subject: hwmon: (adm1029) fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08f509077499907c8bae59818771ce18d3179aa9;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed