aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-08-14 23:07:59 +0200
committerMark Brown <broonie@kernel.org>2023-08-14 22:26:43 +0100
commitedff54ac96eb25f01d26cc68923a6dbbb5b2f440 (patch)
tree6f7ea046574be75970b0c9f5ef8f3e6ddf09e626 /drivers/regulator
parentc418920567ae6101826cc05cda042f71435830d0 (diff)
downloadlinux-edff54ac96eb25f01d26cc68923a6dbbb5b2f440.tar.gz
regulator: rtq2208: 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/20230814210759.26395-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/rtq2208-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rtq2208-regulator.c b/drivers/regulator/rtq2208-regulator.c
index 2463aea4192cd..2d54844c4226b 100644
--- a/drivers/regulator/rtq2208-regulator.c
+++ b/drivers/regulator/rtq2208-regulator.c
@@ -574,7 +574,7 @@ static struct i2c_driver rtq2208_driver = {
.name = "rtq2208",
.of_match_table = rtq2208_device_tables,
},
- .probe_new = rtq2208_probe,
+ .probe = rtq2208_probe,
};
module_i2c_driver(rtq2208_driver);