commit | 9bd024e9fd2bb82fdeb2a2bc8a4b687548f1467e | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Sep 01 16:48:48 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Oct 13 16:16:28 2013 -0700 |
tree | 055045e03facf60b9cc7e83518fab98e84c9f929 | |
parent | 0d36dce0f1d15a9ca55f893b3aa5ce7c297e11c8 [diff] |
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>