summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/migor_ts.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-05-17 09:55:42 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-05-17 09:59:11 -0700
commitd8bde56dfd86a0bba9206de8574e58c8aaac4f0f (patch)
treeb727e74b978bc54e805ea1a7c649002c56ed8ba4 /drivers/input/touchscreen/migor_ts.c
parent17caa38a988e8f73e392f1f5ec2afb854552edcc (diff)
downloadlinux-stable-d8bde56dfd86a0bba9206de8574e58c8aaac4f0f.tar.gz
linux-stable-d8bde56dfd86a0bba9206de8574e58c8aaac4f0f.tar.bz2
linux-stable-d8bde56dfd86a0bba9206de8574e58c8aaac4f0f.zip
Input: 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/20230517164645.162294-1-u.kleine-koenig@pengutronix.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/migor_ts.c')
-rw-r--r--drivers/input/touchscreen/migor_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/migor_ts.c b/drivers/input/touchscreen/migor_ts.c
index 69fcc88d4f80..2384ea69a3f8 100644
--- a/drivers/input/touchscreen/migor_ts.c
+++ b/drivers/input/touchscreen/migor_ts.c
@@ -221,7 +221,7 @@ static struct i2c_driver migor_ts_driver = {
.name = "migor_ts",
.pm = pm_sleep_ptr(&migor_ts_pm),
},
- .probe_new = migor_ts_probe,
+ .probe = migor_ts_probe,
.remove = migor_ts_remove,
.id_table = migor_ts_id,
};