hwmon: (iio_hwmon) Convert to use hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Mon, 2 Dec 2013 03:33:16 +0000 (19:33 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 3 Mar 2014 16:01:03 +0000 (08:01 -0800)
commit4b49cca36ee9bb8e043cb76e23b1c2864e3bbc86
tree43bd20754dee55439b139635cc51962046eadd2c
parentf809621e8c36c15e9caf248dabe441ac25507e62
hwmon: (iio_hwmon) Convert to use hwmon_device_register_with_groups

Simplify code and create name attribute automatically.

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