diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-06-26 11:15:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-09 22:51:20 +0100 |
commit | 741da3f60479acc0de3d79501c4819e49fa28639 (patch) | |
tree | 47af85bb972089b8d118d01d708581c26b4447f1 /drivers/regulator | |
parent | 42a95739c5bc4d7a6e93a43117e9283598ba2287 (diff) | |
download | linux-stable-741da3f60479acc0de3d79501c4819e49fa28639.tar.gz linux-stable-741da3f60479acc0de3d79501c4819e49fa28639.tar.bz2 linux-stable-741da3f60479acc0de3d79501c4819e49fa28639.zip |
regulator: raa215300: Switch back to use struct i2c_driver::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/20230626091544.557403-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/raa215300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/raa215300.c b/drivers/regulator/raa215300.c index 8e1a4c86b978..848a03a2fbd4 100644 --- a/drivers/regulator/raa215300.c +++ b/drivers/regulator/raa215300.c @@ -182,7 +182,7 @@ static struct i2c_driver raa215300_i2c_driver = { .name = "raa215300", .of_match_table = raa215300_dt_match, }, - .probe_new = raa215300_i2c_probe, + .probe = raa215300_i2c_probe, }; module_i2c_driver(raa215300_i2c_driver); |