]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29b071e75c868dd8f56c7f092643ed48c11425dc
tree8687a8b1516b589cb5f224441a7be8074eb25266
parentae110b7c7ff83dc8c501ecca3839bea5f1c5bd77
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