[PATCH v2] hwmon: vexpress: Use devm helper for hwmon device registration

Guenter Roeck linux at roeck-us.net
Wed Apr 30 10:06:56 PDT 2014


On Wed, Apr 30, 2014 at 05:07:10PM +0100, Pawel Moll wrote:
> 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 <pawel.moll at arm.com>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>



More information about the linux-arm-kernel mailing list