All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] leds: aw200xx: Switch back to use struct i2c_driver::probe
@ 2023-06-26  9:02 Uwe Kleine-König
  2023-07-13 10:08 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2023-06-26  9:02 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones; +Cc: linux-leds, kernel

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>
---
 drivers/leds/leds-aw200xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-aw200xx.c b/drivers/leds/leds-aw200xx.c
index 96979b8e09b7..1939105efbcb 100644
--- 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,
 };

base-commit: 9270c97c18cbd52ec47d90678e0be7c5b410d010
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-13 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26  9:02 [PATCH] leds: aw200xx: Switch back to use struct i2c_driver::probe Uwe Kleine-König
2023-07-13 10:08 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.