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

2019-07-22 Thread Guenter Roeck
On Mon, Jul 22, 2019 at 10:55:30AM +1200, Grant McEwan wrote: > hwmon_device_register() is a deprecated function and produces a warning. > > Converting the driver to use the hwmon_device_register_with_groups() > instead. > > Signed-off-by: Grant McEwan Applied to hwmon-next. Thanks, Guenter

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

2019-07-21 Thread Grant McEwan
hwmon_device_register() is a deprecated function and produces a warning. Converting the driver to use the hwmon_device_register_with_groups() instead. Signed-off-by: Grant McEwan --- drivers/hwmon/adt7475.c | 146 ++-- 1 file changed, 50 insertions(+), 96