diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-08-24 21:56:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-24 21:43:28 +0100 |
commit | 21cc7f816c670423a9dae06ad7de5fbc40da97c7 (patch) | |
tree | 9d8a1b24b247e2c00a1028eda2242e20711ec22a /drivers/regulator | |
parent | ed7c6a2ba6a682f191f289de01e8eb0a1366c3eb (diff) | |
download | lwn-21cc7f816c670423a9dae06ad7de5fbc40da97c7.tar.gz lwn-21cc7f816c670423a9dae06ad7de5fbc40da97c7.zip |
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
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/aw37503-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/aw37503-regulator.c b/drivers/regulator/aw37503-regulator.c index e01ef6ad3eb8..a5ff6dfd29b5 100644 --- a/drivers/regulator/aw37503-regulator.c +++ b/drivers/regulator/aw37503-regulator.c @@ -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, }; |