Skip to content

Commit def85dc

Browse files
Uwe Kleine-Königojeda
Uwe Kleine-König
authored andcommitted
auxdisplay: 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 <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230525205840.734432-1-u.kleine-koenig@pengutronix.de Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 7877cb9 commit def85dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/auxdisplay/ht16k33.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ static const struct of_device_id ht16k33_of_match[] = {
820820
MODULE_DEVICE_TABLE(of, ht16k33_of_match);
821821

822822
static struct i2c_driver ht16k33_driver = {
823-
.probe_new = ht16k33_probe,
823+
.probe = ht16k33_probe,
824824
.remove = ht16k33_remove,
825825
.driver = {
826826
.name = DRIVER_NAME,

drivers/auxdisplay/lcd2s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ static struct i2c_driver lcd2s_i2c_driver = {
365365
.name = "lcd2s",
366366
.of_match_table = lcd2s_of_table,
367367
},
368-
.probe_new = lcd2s_i2c_probe,
368+
.probe = lcd2s_i2c_probe,
369369
.remove = lcd2s_i2c_remove,
370370
.id_table = lcd2s_i2c_id,
371371
};

0 commit comments

Comments
 (0)