]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (f75375s) use simple i2c probe
authorStephen Kitt <steve@sk2.org>
Fri, 21 Aug 2020 16:01:59 +0000 (18:01 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:40 +0000 (09:42 -0700)
commit86fc812bade2f78b69e464a029fcb84a9fa65dec
tree8f51c664cf4c70104f42dabaa2d485c3af104c60
parent1c7b24ea5391990f23eca87c38a28ede38054236
hwmon: (f75375s) use simple i2c probe

As part of the ongoing i2c transition to the simple probe
("probe_new"), this patch uses i2c_match_id to retrieve the
driver_data for the probed device. The id parameter is thus no longer
necessary and the simple probe can be used instead.

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