macintosh/windfarm_ad7417_sensor: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:40:26 +0000 (23:40 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:12:16 +0000 (23:12 +1100)
commit9d533bdf4a582f037327f1a38ed8cf689d67cab4
tree8a78ccebfff4185111ec4880a33d083f29cc8e0e
parentdc9be0735c3e245fe60775307cf7842b1f9b45a2
macintosh/windfarm_ad7417_sensor: Convert to i2c's .probe_new()

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221118224540.619276-293-uwe@kleine-koenig.org
drivers/macintosh/windfarm_ad7417_sensor.c