]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83781d) Fix: do not use assignment in if condition
authorGuenter Roeck <linux@roeck-us.net>
Tue, 17 Jan 2012 04:45:16 +0000 (20:45 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:37 +0000 (18:27 -0700)
commit7531ad023fe14e78f677cbf55f75b1c6ec096ca9
tree3bf1d5a152d9ccaa84a4f806d82c81204a9a76ac
parenta23e1be73df7984965d1a7216b1a14c1de2768e2
hwmon: (w83781d) 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.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83781d.c