]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (max6642) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sun, 1 Sep 2013 23:48:48 +0000 (16:48 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:28 +0000 (16:16 -0700)
commit9bd024e9fd2bb82fdeb2a2bc8a4b687548f1467e
tree055045e03facf60b9cc7e83518fab98e84c9f929
parent0d36dce0f1d15a9ca55f893b3aa5ce7c297e11c8
hwmon: (max6642) Convert to use devm_hwmon_device_register_with_groups

Also rename new_client variable to client and introduce
new variable dev pointing to client->dev in the probe function,
and use new macro ATTRIBUTE_GROUPS to declare attribute groups.

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