mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user