hwmon: (ltc2947) use simple i2c probe
authorStephen Kitt <steve@sk2.org>
Thu, 13 Aug 2020 16:28:51 +0000 (18:28 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:40 +0000 (09:42 -0700)
commitc1e60c0d571b6c0264ae18f5e2cfdb34569da762
tree8687a8b1516b589cb5f224441a7be8074eb25266
parent9bf5dd8b26282778412e60c79b8db60687e3dfc4
hwmon: (ltc2947) 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/20200813162851.1519546-1-steve@sk2.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ltc2947-i2c.c