hwmon: (adm1029) use simple i2c probe
authorStephen Kitt <steve@sk2.org>
Thu, 13 Aug 2020 16:11:29 +0000 (18:11 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:39 +0000 (09:42 -0700)
commit7d6ed4ba4fdc0f3029e32e4fd46d83bcc0255c30
treea223e3a356b224d18ef85601712e7beae5b2daf3
parenta391adfae11f3cfb08115dc0ff3ca63fb883d70e
hwmon: (adm1029) 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>
Acked-by: Corentin LABBE <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Link: https://lore.kernel.org/r/20200813161129.1507599-1-steve@sk2.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adm1029.c