aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-08-24 21:56:17 +0200
committerMark Brown <broonie@kernel.org>2023-08-24 21:43:28 +0100
commit21cc7f816c670423a9dae06ad7de5fbc40da97c7 (patch)
tree9d8a1b24b247e2c00a1028eda2242e20711ec22a /drivers/regulator
parented7c6a2ba6a682f191f289de01e8eb0a1366c3eb (diff)
downloadlinux-21cc7f816c670423a9dae06ad7de5fbc40da97c7.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/aw37503-regulator.c b/drivers/regulator/aw37503-regulator.c
index e01ef6ad3eb80..a5ff6dfd29b5f 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,
};