Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: aw37503: Switch back to use struct i2c_driver's .probe()

struct i2c_driver::probe_new is about to go away. Switch the driver to
use the probe callback with the same prototype.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de
Link: https://lore.kernel.org/r/20230824195617.8888-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org

authored by

Uwe Kleine-König and committed by
Mark Brown
21cc7f81 ed7c6a2b

+1 -1
+1 -1
drivers/regulator/aw37503-regulator.c
··· 229 229 .name = "aw37503", 230 230 .of_match_table = aw37503_of_match, 231 231 }, 232 - .probe_new = aw37503_probe, 232 + .probe = aw37503_probe, 233 233 .id_table = aw37503_id, 234 234 }; 235 235