hwmon: (ina209) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Wed, 4 Sep 2013 23:55:59 +0000 (16:55 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 18 Oct 2013 16:11:57 +0000 (09:11 -0700)
commit89de734471c5381558b1e749e0b1b88b5b497708
tree073a9b1eb33f6746a23d5d072970d38e74f4e4af
parent9d86bd6ba3ba2f254720e2916dfda64737974963
hwmon: (ina209) Convert to use devm_hwmon_device_register_with_groups

Also use new macro ATTRIBUTE_GROUPS to declare attribute groups.

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