projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a9573
)
regulator: raa215300: Switch back to use struct i2c_driver::probe
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Mon, 26 Jun 2023 09:15:44 +0000
(11:15 +0200)
committer
Mark Brown
<broonie@kernel.org>
Sun, 9 Jul 2023 21:51:20 +0000
(22:51 +0100)
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>
drivers/regulator/raa215300.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/raa215300.c
b/drivers/regulator/raa215300.c
index
8e1a4c8
..
848a03a
100644
(file)
--- 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);