OSDN Git Service

hwmon: (adm1177) use simple i2c probe
authorStephen Kitt <steve@sk2.org>
Thu, 13 Aug 2020 16:09:58 +0000 (18:09 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:39 +0000 (09:42 -0700)
commita391adfae11f3cfb08115dc0ff3ca63fb883d70e
tree568d6872c10807bd196540245dbf70eccac67e0b
parent6748703856d461f8cd62b72ebca51040e06cb310
hwmon: (adm1177) use simple i2c probe

This driver doesn't use the id information provided by the old i2c
probe function, so it can trivially be converted to the simple
("probe_new") form.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lore.kernel.org/r/20200813160958.1506536-1-steve@sk2.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adm1177.c