]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (adt7410) Use I2C_ADDRS helper macro
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Feb 2013 16:57:13 +0000 (17:57 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 15 Feb 2013 20:02:45 +0000 (12:02 -0800)
commit6a60ad008c5675c8b32dd042203fdfe69246cbf7
tree01121cc56dc93e1a25ff3aade738f48adb5090fa
parenta8d18659f035a90b6a48393830f82d6f78dcccc6
hwmon: (adt7410) Use I2C_ADDRS helper macro

Use the I2C_ADDRS macro to initialize the I2C device's address_list. Doing so
saves a few lines of boilerplate code.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7410.c