mfd: max14577: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 18 Nov 2022 22:42:52 +0000 (23:42 +0100)
committerLee Jones <lee@kernel.org>
Wed, 7 Dec 2022 13:27:22 +0000 (13:27 +0000)
commit8df214715d056e88ae428f0312c49ecf46d93331
tree2046604a3b856887230d6d9faac008877344d969
parent806b9167d4175787651b497892213fe7974e9ee0
mfd: max14577: 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-439-uwe@kleine-koenig.org
drivers/mfd/max14577.c