diff options
author | 2023-08-14 23:07:59 +0200 | |
---|---|---|
committer | 2023-08-14 22:26:43 +0100 | |
commit | edff54ac96eb25f01d26cc68923a6dbbb5b2f440 (patch) | |
tree | 6f7ea046574be75970b0c9f5ef8f3e6ddf09e626 | |
parent | regulator: lp872x: Fix Wvoid-pointer-to-enum-cast warning (diff) | |
download | wireguard-linux-edff54ac96eb25f01d26cc68923a6dbbb5b2f440.tar.xz wireguard-linux-edff54ac96eb25f01d26cc68923a6dbbb5b2f440.zip |
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 '')
-rw-r--r-- | drivers/regulator/rtq2208-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rtq2208-regulator.c b/drivers/regulator/rtq2208-regulator.c index 2463aea4192c..2d54844c4226 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); |