hwmon: (tmp513) use simple i2c probe
authorStephen Kitt <steve@sk2.org>
Fri, 21 Aug 2020 16:02:31 +0000 (18:02 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:40 +0000 (09:42 -0700)
commite3b9f691252840f8cee89179a2307872eff751f1
tree7f5de4e282a00d35ca3eb82c7946969fb6d0e809
parent673afe466166cda94053d2d2400e669fe19f8050
hwmon: (tmp513) 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/20200821160231.592571-1-steve@sk2.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp513.c