]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/hwmon/ad7414.c
hwmon: (ad7414) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Tue, 1 Jul 2014 14:31:44 +0000 (22:31 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:35 +0000 (07:01 -0700)
commit045c1391ec3b703ee00643fe9bda7cd65cd463e1
tree368e859dca293a637df0d9d6cc603b51a4c52875
parented67f0872be1aa516831332c732752022d4edc7c
hwmon: (ad7414) Convert to devm_hwmon_device_register_with_groups

Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ad7414.c