From: Guenter Roeck Date: Mon, 2 Sep 2013 18:31:28 +0000 (-0700) Subject: hwmon: (max16065) Convert to use devm_hwmon_device_register_with_groups X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~18^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38c75dc36dd368d10c4d0030665ec58565e4259b;p=pandora-kernel.git hwmon: (max16065) Convert to use devm_hwmon_device_register_with_groups Modify code to use is_visible to determine if an attribute should be created or not, then use devm_hwmon_device_register_with_groups to create the hwmon device and all attributes in one operation. Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed