commit | 6665e10a2ec3cadfe026d4f28a2e3193fe392035 | [log] [tgz] |
---|---|---|
author | Armin Wolf <W_Armin@gmx.de> | Mon Aug 23 19:07:24 2021 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Oct 12 07:22:37 2021 -0700 |
tree | c7e94b854bb3b6d392b3d6c31651c050594b9e1c | |
parent | fb4747d89b4866402fc2230022d59fa60e9e0cd5 [diff] |
hwmon: (i5500_temp) Convert to devm_hwmon_device_register_with_info Use devm_hwmon_device_register_with_info() to simplify code and use register defines instead of hardcoded values. Also use the BIT() macro for the alarms. Only compile-tested. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20210823170724.7662-1-W_Armin@gmx.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>