diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-17 09:55:42 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-05-17 09:59:11 -0700 |
commit | d8bde56dfd86a0bba9206de8574e58c8aaac4f0f (patch) | |
tree | b727e74b978bc54e805ea1a7c649002c56ed8ba4 /drivers/input/touchscreen/melfas_mip4.c | |
parent | 17caa38a988e8f73e392f1f5ec2afb854552edcc (diff) | |
download | lwn-d8bde56dfd86a0bba9206de8574e58c8aaac4f0f.tar.gz lwn-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/melfas_mip4.c')
-rw-r--r-- | drivers/input/touchscreen/melfas_mip4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/melfas_mip4.c b/drivers/input/touchscreen/melfas_mip4.c index 89b6020a9a61..32896e5085bd 100644 --- a/drivers/input/touchscreen/melfas_mip4.c +++ b/drivers/input/touchscreen/melfas_mip4.c @@ -1591,7 +1591,7 @@ MODULE_DEVICE_TABLE(i2c, mip4_i2c_ids); static struct i2c_driver mip4_driver = { .id_table = mip4_i2c_ids, - .probe_new = mip4_probe, + .probe = mip4_probe, .driver = { .name = MIP4_DEVICE_NAME, .of_match_table = of_match_ptr(mip4_of_match), |