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

.probe_new() doesn't get the i2c_device_id * parameter, so determine
that explicitly in the probe function.

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-292-uwe@kleine-koenig.org
drivers/macintosh/therm_windtunnel.c