hwmon: (dme1737) use simple i2c probe
authorStephen Kitt <steve@sk2.org>
Fri, 21 Aug 2020 16:00:35 +0000 (18:00 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:40 +0000 (09:42 -0700)
commit4e1b4d22279188e63546838144399a6dde44a5aa
tree6c24b42e29fb994251c21564c6aafc1703af1d92
parentf7bd7b5452978fb41879ca6a98af8c5643ad61e8
hwmon: (dme1737) 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/20200821160035.590142-1-steve@sk2.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dme1737.c