diff options
author | Stephen Kitt <steve@sk2.org> | 2020-08-21 19:00:35 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-09-23 19:42:40 +0300 |
commit | 4e1b4d22279188e63546838144399a6dde44a5aa (patch) | |
tree | 6c24b42e29fb994251c21564c6aafc1703af1d92 /drivers/hwmon/pwm-fan.c | |
parent | f7bd7b5452978fb41879ca6a98af8c5643ad61e8 (diff) | |
download | linux-4e1b4d22279188e63546838144399a6dde44a5aa.tar.xz |
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>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions