summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ad7414.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2012-01-08 19:34:17 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:26:34 -0700
commite91aef22cdb9ca12099d6d21f88de5036fe26fb5 (patch)
treeb886cbb67674e1158905818524dcd07ed70852fb /drivers/hwmon/ad7414.c
parent599654255d4a933e71641b5e3cb8ceb753830c5f (diff)
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 <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/ad7414.c')
0 files changed, 0 insertions, 0 deletions