Skip to content

Commit 62279db

Browse files
Uwe Kleine-Königbebarino
authored andcommitted
clk: Switch i2c drivers back to use .probe()
After commit b8a1a4c ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then 03c835f ("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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent ac9a786 commit 62279db

12 files changed

+12
-12
lines changed

drivers/clk/clk-cdce706.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ static struct i2c_driver cdce706_i2c_driver = {
684684
.name = "cdce706",
685685
.of_match_table = of_match_ptr(cdce706_dt_match),
686686
},
687-
.probe_new = cdce706_probe,
687+
.probe = cdce706_probe,
688688
.id_table = cdce706_id,
689689
};
690690
module_i2c_driver(cdce706_i2c_driver);

drivers/clk/clk-cdce925.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ static struct i2c_driver cdce925_driver = {
824824
.name = "cdce925",
825825
.of_match_table = of_match_ptr(clk_cdce925_of_match),
826826
},
827-
.probe_new = cdce925_probe,
827+
.probe = cdce925_probe,
828828
.id_table = cdce925_id,
829829
};
830830
module_i2c_driver(cdce925_driver);

drivers/clk/clk-cs2000-cp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ static struct i2c_driver cs2000_driver = {
622622
.pm = &cs2000_pm_ops,
623623
.of_match_table = cs2000_of_match,
624624
},
625-
.probe_new = cs2000_probe,
625+
.probe = cs2000_probe,
626626
.remove = cs2000_remove,
627627
.id_table = cs2000_id,
628628
};

drivers/clk/clk-max9485.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ static struct i2c_driver max9485_driver = {
376376
.pm = &max9485_pm_ops,
377377
.of_match_table = max9485_dt_ids,
378378
},
379-
.probe_new = max9485_i2c_probe,
379+
.probe = max9485_i2c_probe,
380380
.id_table = max9485_i2c_ids,
381381
};
382382
module_i2c_driver(max9485_driver);

drivers/clk/clk-renesas-pcie.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ static struct i2c_driver rs9_driver = {
413413
.pm = &rs9_pm_ops,
414414
.of_match_table = clk_rs9_of_match,
415415
},
416-
.probe_new = rs9_probe,
416+
.probe = rs9_probe,
417417
.id_table = rs9_id,
418418
};
419419
module_i2c_driver(rs9_driver);

drivers/clk/clk-si514.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ static struct i2c_driver si514_driver = {
387387
.name = "si514",
388388
.of_match_table = clk_si514_of_match,
389389
},
390-
.probe_new = si514_probe,
390+
.probe = si514_probe,
391391
.id_table = si514_id,
392392
};
393393
module_i2c_driver(si514_driver);

drivers/clk/clk-si5341.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,7 @@ static struct i2c_driver si5341_driver = {
18341834
.name = "si5341",
18351835
.of_match_table = clk_si5341_of_match,
18361836
},
1837-
.probe_new = si5341_probe,
1837+
.probe = si5341_probe,
18381838
.remove = si5341_remove,
18391839
.id_table = si5341_id,
18401840
};

drivers/clk/clk-si5351.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,7 @@ static struct i2c_driver si5351_driver = {
16561656
.name = "si5351",
16571657
.of_match_table = of_match_ptr(si5351_dt_ids),
16581658
},
1659-
.probe_new = si5351_i2c_probe,
1659+
.probe = si5351_i2c_probe,
16601660
.id_table = si5351_i2c_ids,
16611661
};
16621662
module_i2c_driver(si5351_driver);

drivers/clk/clk-si544.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ static struct i2c_driver si544_driver = {
520520
.name = "si544",
521521
.of_match_table = clk_si544_of_match,
522522
},
523-
.probe_new = si544_probe,
523+
.probe = si544_probe,
524524
.id_table = si544_id,
525525
};
526526
module_i2c_driver(si544_driver);

drivers/clk/clk-si570.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ static struct i2c_driver si570_driver = {
510510
.name = "si570",
511511
.of_match_table = clk_si570_of_match,
512512
},
513-
.probe_new = si570_probe,
513+
.probe = si570_probe,
514514
.id_table = si570_id,
515515
};
516516
module_i2c_driver(si570_driver);

0 commit comments

Comments
 (0)