Skip to content
Commit 78cebd08 authored by Pawel Moll's avatar Pawel Moll Committed by Guenter Roeck
Browse files

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: default avatarPawel Moll <pawel.moll@arm.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8dea1b4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment