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
(from parent 1:
66c5e98
)
leds: aw200xx: Switch back to use struct i2c_driver::probe
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Mon, 26 Jun 2023 09:02:54 +0000
(11:02 +0200)
committer
Lee Jones
<lee@kernel.org>
Fri, 28 Jul 2023 08:26:20 +0000
(09:26 +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/20230626090254.556206-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-aw200xx.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-aw200xx.c
b/drivers/leds/leds-aw200xx.c
index
7b996bc
..
691a743
100644
(file)
--- a/
drivers/leds/leds-aw200xx.c
+++ b/
drivers/leds/leds-aw200xx.c
@@
-583,7
+583,7
@@
static struct i2c_driver aw200xx_driver = {
.name = "aw200xx",
.of_match_table = aw200xx_match_table,
},
- .probe
_new
= aw200xx_probe,
+ .probe = aw200xx_probe,
.remove = aw200xx_remove,
.id_table = aw200xx_id,
};