mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-23 18:14:04 +08:00
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
This commit is contained in:
parent
ed7c6a2ba6
commit
21cc7f816c
@ -229,7 +229,7 @@ static struct i2c_driver aw37503_i2c_driver = {
|
||||
.name = "aw37503",
|
||||
.of_match_table = aw37503_of_match,
|
||||
},
|
||||
.probe_new = aw37503_probe,
|
||||
.probe = aw37503_probe,
|
||||
.id_table = aw37503_id,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user