Commit 21cc7f81 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Mark Brown

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
parent ed7c6a2b
...@@ -229,7 +229,7 @@ static struct i2c_driver aw37503_i2c_driver = { ...@@ -229,7 +229,7 @@ static struct i2c_driver aw37503_i2c_driver = {
.name = "aw37503", .name = "aw37503",
.of_match_table = aw37503_of_match, .of_match_table = aw37503_of_match,
}, },
.probe_new = aw37503_probe, .probe = aw37503_probe,
.id_table = aw37503_id, .id_table = aw37503_id,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment