From: Frans Meulenbroeks Date: Sun, 8 Jan 2012 18:34:17 +0000 (+0100) Subject: hwmon: (ad7418) fix checkpatch issues X-Git-Tag: v3.4-rc1~167^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e91aef22cdb9ca12099d6d21f88de5036fe26fb5;p=pandora-kernel.git hwmon: (ad7418) fix checkpatch issues fixed: WARNING: simple_strtol is obsolete, use kstrtol instead + long temp = simple_strtol(buf, NULL, 10); ERROR: do not use assignment in if condition + if (!(data = kzalloc(sizeof(struct ad7418_data), GFP_KERNEL))) { ERROR: do not use assignment in if condition + if ((err = sysfs_create_group(&client->dev.kobj, &data->attrs))) Signed-off-by: Frans Meulenbroeks Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed