Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f498b5 ("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 <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230427125531.622202-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Uwe Kleine-König and committed by
Stephen Boyd
62279db5 ac9a7868

+12 -12
+1 -1
drivers/clk/clk-cdce706.c
··· 684 684 .name = "cdce706", 685 685 .of_match_table = of_match_ptr(cdce706_dt_match), 686 686 }, 687 - .probe_new = cdce706_probe, 687 + .probe = cdce706_probe, 688 688 .id_table = cdce706_id, 689 689 }; 690 690 module_i2c_driver(cdce706_i2c_driver);
+1 -1
drivers/clk/clk-cdce925.c
··· 824 824 .name = "cdce925", 825 825 .of_match_table = of_match_ptr(clk_cdce925_of_match), 826 826 }, 827 - .probe_new = cdce925_probe, 827 + .probe = cdce925_probe, 828 828 .id_table = cdce925_id, 829 829 }; 830 830 module_i2c_driver(cdce925_driver);
+1 -1
drivers/clk/clk-cs2000-cp.c
··· 622 622 .pm = &cs2000_pm_ops, 623 623 .of_match_table = cs2000_of_match, 624 624 }, 625 - .probe_new = cs2000_probe, 625 + .probe = cs2000_probe, 626 626 .remove = cs2000_remove, 627 627 .id_table = cs2000_id, 628 628 };
+1 -1
drivers/clk/clk-max9485.c
··· 376 376 .pm = &max9485_pm_ops, 377 377 .of_match_table = max9485_dt_ids, 378 378 }, 379 - .probe_new = max9485_i2c_probe, 379 + .probe = max9485_i2c_probe, 380 380 .id_table = max9485_i2c_ids, 381 381 }; 382 382 module_i2c_driver(max9485_driver);
+1 -1
drivers/clk/clk-renesas-pcie.c
··· 413 413 .pm = &rs9_pm_ops, 414 414 .of_match_table = clk_rs9_of_match, 415 415 }, 416 - .probe_new = rs9_probe, 416 + .probe = rs9_probe, 417 417 .id_table = rs9_id, 418 418 }; 419 419 module_i2c_driver(rs9_driver);
+1 -1
drivers/clk/clk-si514.c
··· 387 387 .name = "si514", 388 388 .of_match_table = clk_si514_of_match, 389 389 }, 390 - .probe_new = si514_probe, 390 + .probe = si514_probe, 391 391 .id_table = si514_id, 392 392 }; 393 393 module_i2c_driver(si514_driver);
+1 -1
drivers/clk/clk-si5341.c
··· 1834 1834 .name = "si5341", 1835 1835 .of_match_table = clk_si5341_of_match, 1836 1836 }, 1837 - .probe_new = si5341_probe, 1837 + .probe = si5341_probe, 1838 1838 .remove = si5341_remove, 1839 1839 .id_table = si5341_id, 1840 1840 };
+1 -1
drivers/clk/clk-si5351.c
··· 1656 1656 .name = "si5351", 1657 1657 .of_match_table = of_match_ptr(si5351_dt_ids), 1658 1658 }, 1659 - .probe_new = si5351_i2c_probe, 1659 + .probe = si5351_i2c_probe, 1660 1660 .id_table = si5351_i2c_ids, 1661 1661 }; 1662 1662 module_i2c_driver(si5351_driver);
+1 -1
drivers/clk/clk-si544.c
··· 520 520 .name = "si544", 521 521 .of_match_table = clk_si544_of_match, 522 522 }, 523 - .probe_new = si544_probe, 523 + .probe = si544_probe, 524 524 .id_table = si544_id, 525 525 }; 526 526 module_i2c_driver(si544_driver);
+1 -1
drivers/clk/clk-si570.c
··· 510 510 .name = "si570", 511 511 .of_match_table = clk_si570_of_match, 512 512 }, 513 - .probe_new = si570_probe, 513 + .probe = si570_probe, 514 514 .id_table = si570_id, 515 515 }; 516 516 module_i2c_driver(si570_driver);
+1 -1
drivers/clk/clk-versaclock5.c
··· 1304 1304 .pm = &vc5_pm_ops, 1305 1305 .of_match_table = clk_vc5_of_match, 1306 1306 }, 1307 - .probe_new = vc5_probe, 1307 + .probe = vc5_probe, 1308 1308 .remove = vc5_remove, 1309 1309 .id_table = vc5_id, 1310 1310 };
+1 -1
drivers/clk/clk-versaclock7.c
··· 1298 1298 .name = "vc7", 1299 1299 .of_match_table = vc7_of_match, 1300 1300 }, 1301 - .probe_new = vc7_probe, 1301 + .probe = vc7_probe, 1302 1302 .remove = vc7_remove, 1303 1303 .id_table = vc7_i2c_id, 1304 1304 };