regulator: max20411: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 27 Jan 2023 10:17:26 +0000 (11:17 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 27 Jan 2023 12:14:15 +0000 (12:14 +0000)
commitfad8ddda1c40c00bff4ac45eb9b85e1f717f17f4
treed26a972bdb92a044ff3f8e3d6df65554fb56075a
parent668f777d02f61faa834f1e24f3b99576dbe5ff6b
regulator: max20411: 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>
Link: https://lore.kernel.org/r/20230127101726.1313927-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max20411-regulator.c