mfd: tc3589x: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:43:18 +0000 (23:43 +0100)
committerLee Jones <lee@kernel.org>
Wed, 7 Dec 2022 13:27:25 +0000 (13:27 +0000)
commitd28fa288ea506812ef73980b8c3dc9c39ec8c18b
tree28b907ec597bcbae40e1c2313bd65ce03858faac
parent40ee15f763906ce1d8a47261a3343507f5c7bc9a
mfd: tc3589x: 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: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221118224540.619276-465-uwe@kleine-koenig.org
drivers/mfd/tc3589x.c