]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea4beaa27fe85c92150308d6bbc13933ed1907eb
tree6d78999b88a727698dbc8c1ca5d16ee317b8b2c2
parentc135833fb2eaa6884fa8bde7da885ff05d9ff6ba
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