Commit 62279db5 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Stephen Boyd

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

After commit b8a1a4cd ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f4 ("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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230427125531.622202-1-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent ac9a7868
...@@ -684,7 +684,7 @@ static struct i2c_driver cdce706_i2c_driver = { ...@@ -684,7 +684,7 @@ static struct i2c_driver cdce706_i2c_driver = {
.name = "cdce706", .name = "cdce706",
.of_match_table = of_match_ptr(cdce706_dt_match), .of_match_table = of_match_ptr(cdce706_dt_match),
}, },
.probe_new = cdce706_probe, .probe = cdce706_probe,
.id_table = cdce706_id, .id_table = cdce706_id,
}; };
module_i2c_driver(cdce706_i2c_driver); module_i2c_driver(cdce706_i2c_driver);
......
...@@ -824,7 +824,7 @@ static struct i2c_driver cdce925_driver = { ...@@ -824,7 +824,7 @@ static struct i2c_driver cdce925_driver = {
.name = "cdce925", .name = "cdce925",
.of_match_table = of_match_ptr(clk_cdce925_of_match), .of_match_table = of_match_ptr(clk_cdce925_of_match),
}, },
.probe_new = cdce925_probe, .probe = cdce925_probe,
.id_table = cdce925_id, .id_table = cdce925_id,
}; };
module_i2c_driver(cdce925_driver); module_i2c_driver(cdce925_driver);
......
...@@ -622,7 +622,7 @@ static struct i2c_driver cs2000_driver = { ...@@ -622,7 +622,7 @@ static struct i2c_driver cs2000_driver = {
.pm = &cs2000_pm_ops, .pm = &cs2000_pm_ops,
.of_match_table = cs2000_of_match, .of_match_table = cs2000_of_match,
}, },
.probe_new = cs2000_probe, .probe = cs2000_probe,
.remove = cs2000_remove, .remove = cs2000_remove,
.id_table = cs2000_id, .id_table = cs2000_id,
}; };
......
...@@ -376,7 +376,7 @@ static struct i2c_driver max9485_driver = { ...@@ -376,7 +376,7 @@ static struct i2c_driver max9485_driver = {
.pm = &max9485_pm_ops, .pm = &max9485_pm_ops,
.of_match_table = max9485_dt_ids, .of_match_table = max9485_dt_ids,
}, },
.probe_new = max9485_i2c_probe, .probe = max9485_i2c_probe,
.id_table = max9485_i2c_ids, .id_table = max9485_i2c_ids,
}; };
module_i2c_driver(max9485_driver); module_i2c_driver(max9485_driver);
......
...@@ -413,7 +413,7 @@ static struct i2c_driver rs9_driver = { ...@@ -413,7 +413,7 @@ static struct i2c_driver rs9_driver = {
.pm = &rs9_pm_ops, .pm = &rs9_pm_ops,
.of_match_table = clk_rs9_of_match, .of_match_table = clk_rs9_of_match,
}, },
.probe_new = rs9_probe, .probe = rs9_probe,
.id_table = rs9_id, .id_table = rs9_id,
}; };
module_i2c_driver(rs9_driver); module_i2c_driver(rs9_driver);
......
...@@ -387,7 +387,7 @@ static struct i2c_driver si514_driver = { ...@@ -387,7 +387,7 @@ static struct i2c_driver si514_driver = {
.name = "si514", .name = "si514",
.of_match_table = clk_si514_of_match, .of_match_table = clk_si514_of_match,
}, },
.probe_new = si514_probe, .probe = si514_probe,
.id_table = si514_id, .id_table = si514_id,
}; };
module_i2c_driver(si514_driver); module_i2c_driver(si514_driver);
......
...@@ -1834,7 +1834,7 @@ static struct i2c_driver si5341_driver = { ...@@ -1834,7 +1834,7 @@ static struct i2c_driver si5341_driver = {
.name = "si5341", .name = "si5341",
.of_match_table = clk_si5341_of_match, .of_match_table = clk_si5341_of_match,
}, },
.probe_new = si5341_probe, .probe = si5341_probe,
.remove = si5341_remove, .remove = si5341_remove,
.id_table = si5341_id, .id_table = si5341_id,
}; };
......
...@@ -1656,7 +1656,7 @@ static struct i2c_driver si5351_driver = { ...@@ -1656,7 +1656,7 @@ static struct i2c_driver si5351_driver = {
.name = "si5351", .name = "si5351",
.of_match_table = of_match_ptr(si5351_dt_ids), .of_match_table = of_match_ptr(si5351_dt_ids),
}, },
.probe_new = si5351_i2c_probe, .probe = si5351_i2c_probe,
.id_table = si5351_i2c_ids, .id_table = si5351_i2c_ids,
}; };
module_i2c_driver(si5351_driver); module_i2c_driver(si5351_driver);
......
...@@ -520,7 +520,7 @@ static struct i2c_driver si544_driver = { ...@@ -520,7 +520,7 @@ static struct i2c_driver si544_driver = {
.name = "si544", .name = "si544",
.of_match_table = clk_si544_of_match, .of_match_table = clk_si544_of_match,
}, },
.probe_new = si544_probe, .probe = si544_probe,
.id_table = si544_id, .id_table = si544_id,
}; };
module_i2c_driver(si544_driver); module_i2c_driver(si544_driver);
......
...@@ -510,7 +510,7 @@ static struct i2c_driver si570_driver = { ...@@ -510,7 +510,7 @@ static struct i2c_driver si570_driver = {
.name = "si570", .name = "si570",
.of_match_table = clk_si570_of_match, .of_match_table = clk_si570_of_match,
}, },
.probe_new = si570_probe, .probe = si570_probe,
.id_table = si570_id, .id_table = si570_id,
}; };
module_i2c_driver(si570_driver); module_i2c_driver(si570_driver);
......
...@@ -1304,7 +1304,7 @@ static struct i2c_driver vc5_driver = { ...@@ -1304,7 +1304,7 @@ static struct i2c_driver vc5_driver = {
.pm = &vc5_pm_ops, .pm = &vc5_pm_ops,
.of_match_table = clk_vc5_of_match, .of_match_table = clk_vc5_of_match,
}, },
.probe_new = vc5_probe, .probe = vc5_probe,
.remove = vc5_remove, .remove = vc5_remove,
.id_table = vc5_id, .id_table = vc5_id,
}; };
......
...@@ -1298,7 +1298,7 @@ static struct i2c_driver vc7_i2c_driver = { ...@@ -1298,7 +1298,7 @@ static struct i2c_driver vc7_i2c_driver = {
.name = "vc7", .name = "vc7",
.of_match_table = vc7_of_match, .of_match_table = vc7_of_match,
}, },
.probe_new = vc7_probe, .probe = vc7_probe,
.remove = vc7_remove, .remove = vc7_remove,
.id_table = vc7_i2c_id, .id_table = vc7_i2c_id,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment