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

Configure Feed

Select the types of activity you want to include in your feed.

extcon: 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>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>

authored by

Uwe Kleine-König and committed by
Chanwoo Choi
bcfa8e33 93e60cd5

+5 -5
+1 -1
drivers/extcon/extcon-fsa9480.c
··· 369 369 .pm = &fsa9480_pm_ops, 370 370 .of_match_table = fsa9480_of_match, 371 371 }, 372 - .probe_new = fsa9480_probe, 372 + .probe = fsa9480_probe, 373 373 .id_table = fsa9480_id, 374 374 }; 375 375
+1 -1
drivers/extcon/extcon-ptn5150.c
··· 348 348 .name = "ptn5150", 349 349 .of_match_table = ptn5150_dt_match, 350 350 }, 351 - .probe_new = ptn5150_i2c_probe, 351 + .probe = ptn5150_i2c_probe, 352 352 .id_table = ptn5150_i2c_id, 353 353 }; 354 354 module_i2c_driver(ptn5150_i2c_driver);
+1 -1
drivers/extcon/extcon-rt8973a.c
··· 695 695 .pm = &rt8973a_muic_pm_ops, 696 696 .of_match_table = rt8973a_dt_match, 697 697 }, 698 - .probe_new = rt8973a_muic_i2c_probe, 698 + .probe = rt8973a_muic_i2c_probe, 699 699 .remove = rt8973a_muic_i2c_remove, 700 700 .id_table = rt8973a_i2c_id, 701 701 };
+1 -1
drivers/extcon/extcon-sm5502.c
··· 840 840 .pm = &sm5502_muic_pm_ops, 841 841 .of_match_table = sm5502_dt_match, 842 842 }, 843 - .probe_new = sm5022_muic_i2c_probe, 843 + .probe = sm5022_muic_i2c_probe, 844 844 .id_table = sm5502_i2c_id, 845 845 }; 846 846
+1 -1
drivers/extcon/extcon-usbc-tusb320.c
··· 593 593 MODULE_DEVICE_TABLE(of, tusb320_extcon_dt_match); 594 594 595 595 static struct i2c_driver tusb320_extcon_driver = { 596 - .probe_new = tusb320_probe, 596 + .probe = tusb320_probe, 597 597 .remove = tusb320_remove, 598 598 .driver = { 599 599 .name = "extcon-tusb320",