[PATCH v2 0/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()

From: Grant McEwan
Date: Sun Jul 21 2019 - 18:56:04 EST


V2:
Addressing maintainer feedback,
- Increased attribute array from 8 to 9, to accommodate NULL terminator.
- Removed #define ATTR_GROUP_COUNT.
- Replaced hwmon_device_register_with_groups() with
devm_hwmon_device_register_with_groups() api.
- Removed the adt7475_remove_files() as no longer necessary with new API.
- Replaced goto eremove calls, with simple returns.
- Removed .remove function.

Grant McEwan (1):
hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()

drivers/hwmon/adt7475.c | 146 ++++++++++++++--------------------------
1 file changed, 50 insertions(+), 96 deletions(-)

--
2.22.0