From: Guenter Roeck Date: Sun, 1 Sep 2013 23:48:48 +0000 (-0700) Subject: hwmon: (max6642) Convert to use devm_hwmon_device_register_with_groups X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~18^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bd024e9fd2bb82fdeb2a2bc8a4b687548f1467e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed