public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: rtq2208: Switch back to use struct i2c_driver's .probe()
@ 2023-08-14 21:07 Uwe Kleine-König
  2023-08-15  2:25 ` Alina Yu
  2023-08-15 12:32 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2023-08-14 21:07 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown; +Cc: linux-kernel, kernel, Alina Yu

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>
---
Hello,

would be great if this was the last regulator driver I had to switch.
It's the fifth driver I had to fixup as it was added with .probe_new
after 964e186547b2.

Thanks
Uwe

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

diff --git a/drivers/regulator/rtq2208-regulator.c b/drivers/regulator/rtq2208-regulator.c
index 2463aea4192c..2d54844c4226 100644
--- a/drivers/regulator/rtq2208-regulator.c
+++ b/drivers/regulator/rtq2208-regulator.c
@@ -574,7 +574,7 @@ static struct i2c_driver rtq2208_driver = {
 		.name = "rtq2208",
 		.of_match_table = rtq2208_device_tables,
 	},
-	.probe_new = rtq2208_probe,
+	.probe = rtq2208_probe,
 };
 module_i2c_driver(rtq2208_driver);
 

base-commit: 85a11f55621a0c18b22b43ab4219450ac1d19386
-- 
2.40.1


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

end of thread, other threads:[~2023-08-15 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 21:07 [PATCH] regulator: rtq2208: Switch back to use struct i2c_driver's .probe() Uwe Kleine-König
2023-08-15  2:25 ` Alina Yu
2023-08-15 12:32 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox