diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-01-17 00:11:57 +0100 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-19 02:27:05 +0100 |
commit | 073f1e6c895f256b1d7b535a97fe0ced98ac1615 (patch) | |
tree | b393471549e305c3e11512ea57de349ffa2d501d /drivers/hwmon/lm92.c | |
parent | hwmon: (lm87) Fix checkpatch issues (diff) | |
download | linux-073f1e6c895f256b1d7b535a97fe0ced98ac1615.tar.xz linux-073f1e6c895f256b1d7b535a97fe0ced98ac1615.zip |
hwmon: (lm87) Fix: do not use assignment in if condition
Fix checkpatch issue:
ERROR: do not use assignment in if condition
Replace repeated calls to device_create_file() with calls to sysfs_create_group.
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/lm92.c')
0 files changed, 0 insertions, 0 deletions