All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: si521xx: Switch i2c driver back to use .probe()
@ 2023-05-26  6:09 Uwe Kleine-König
  2023-06-13  1:16 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2023-05-26  6:09 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd; +Cc: linux-clk, kernel

After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f498b5 ("i2c: Switch .probe() to not take an id parameter")
convert back to (the new) .probe() to be able to eventually drop
.probe_new() from struct i2c_driver.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
Hello,

since I sent a patch converting all of drivers/clk back to .probe() this
driver was added. If you prefer, squash this patch into 

	62279db5a323 clk: Switch i2c drivers back to use .probe()

Best regards
Uwe

 drivers/clk/clk-si521xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk-si521xx.c b/drivers/clk/clk-si521xx.c
index ac8d4c59cd3d..4eaf1b53f06b 100644
--- a/drivers/clk/clk-si521xx.c
+++ b/drivers/clk/clk-si521xx.c
@@ -385,7 +385,7 @@ static struct i2c_driver si521xx_driver = {
 		.pm	= &si521xx_pm_ops,
 		.of_match_table = clk_si521xx_of_match,
 	},
-	.probe_new	= si521xx_probe,
+	.probe		= si521xx_probe,
 	.id_table	= si521xx_id,
 };
 module_i2c_driver(si521xx_driver);

base-commit: ac9a78681b921877518763ba0e89202254349d1b
-- 
2.39.2


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

* Re: [PATCH] clk: si521xx: Switch i2c driver back to use .probe()
  2023-05-26  6:09 [PATCH] clk: si521xx: Switch i2c driver back to use .probe() Uwe Kleine-König
@ 2023-06-13  1:16 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2023-06-13  1:16 UTC (permalink / raw)
  To: Michael Turquette, Uwe Kleine-König; +Cc: linux-clk, kernel

Quoting Uwe Kleine-König (2023-05-25 23:09:55)
> After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
> call-back type"), all drivers being converted to .probe_new() and then
> 03c835f498b5 ("i2c: Switch .probe() to not take an id parameter")
> convert back to (the new) .probe() to be able to eventually drop
> .probe_new() from struct i2c_driver.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---

Applied to clk-next

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

end of thread, other threads:[~2023-06-13  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-26  6:09 [PATCH] clk: si521xx: Switch i2c driver back to use .probe() Uwe Kleine-König
2023-06-13  1:16 ` Stephen Boyd

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.