regulator: rtq2208: Switch back to use struct i2c_driver's .probe()

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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Uwe Kleine-König
2023-08-14 22:26:43 +01:00
committed by Mark Brown
parent c418920567
commit edff54ac96
+1 -1
View File
@@ -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);