]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit089da5e68b78bb89bbd69ac0a7e0e7df371202b4
tree6c24b42e29fb994251c21564c6aafc1703af1d92
parent86fc812bade2f78b69e464a029fcb84a9fa65dec
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