hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()
authorGrant McEwan <grant.mcewan@alliedtelesis.co.nz>
Sun, 21 Jul 2019 22:55:30 +0000 (10:55 +1200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 3 Sep 2019 19:47:17 +0000 (12:47 -0700)
commitc64fce7f2a1029fe1093ebdf1a0b23822586db51
tree6d78999b88a727698dbc8c1ca5d16ee317b8b2c2
parent22e96ce318050e75389ba80e5c5df67ab2f97325
hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()

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 <grant.mcewan@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20190721225530.28799-2-grant.mcewan@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7475.c