From: Pawel Moll Date: Thu, 12 Jun 2014 14:14:33 +0000 (+0100) Subject: hwmon: vexpress: Use devm helper for hwmon device registration X-Git-Tag: omap-for-v3.16/fixes-against-rc1~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78cebd0889c7b8b92f43e7667efc16636b858c34;p=pandora-kernel.git hwmon: vexpress: Use devm helper for hwmon device registration Use devm_hwmon_device_register_with_groups instead of the old-style manual attributes and hwmon device registration. Also, unroll the attribute group macros for better code readability. Signed-off-by: Pawel Moll Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed