macintosh/therm_adt746x: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:40:24 +0000 (23:40 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:12:16 +0000 (23:12 +1100)
commit0424113fed923a2fcb699b5f3aa335d16e092f3d
tree450f407bf388cd123a3be7c14473ba2f6493db71
parent8daa9c1dc9b4a3422801017ca46d935073dc14c0
macintosh/therm_adt746x: 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-291-uwe@kleine-koenig.org
drivers/macintosh/therm_adt746x.c