diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2012-01-08 19:34:18 +0100 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-19 02:26:31 +0100 |
commit | 08f509077499907c8bae59818771ce18d3179aa9 (patch) | |
tree | 2c7855e24158a1860ab66ae09a92a1a3a4bebd53 /net/bridge/br_private_stp.h | |
parent | hwmon: (g760a) fix checkpatch issues (diff) | |
download | linux-08f509077499907c8bae59818771ce18d3179aa9.tar.xz linux-08f509077499907c8bae59818771ce18d3179aa9.zip |
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 'net/bridge/br_private_stp.h')
0 files changed, 0 insertions, 0 deletions