aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid/i2c-hid/i2c-hid-of.c
diff options
context:
space:
mode:
authorGravatar Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 2023-05-25 22:32:02 +0200
committerGravatar Jiri Kosina <jkosina@suse.cz> 2023-06-08 16:21:55 +0200
commite4b880758a9182fbfa4b28302a66acfeac2cbfed (patch)
tree9b3e0b37327ed28e152476643ec3b5aa43d1ad66 /drivers/hid/i2c-hid/i2c-hid-of.c
parentMerge tag 'for-linus-2023060501' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-e4b880758a9182fbfa4b28302a66acfeac2cbfed.tar.gz
linux-e4b880758a9182fbfa4b28302a66acfeac2cbfed.tar.bz2
linux-e4b880758a9182fbfa4b28302a66acfeac2cbfed.zip
HID: i2c-hid: 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: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid/i2c-hid-of.c')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid-of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid-of.c b/drivers/hid/i2c-hid/i2c-hid-of.c
index 855f53092f4e..c4e1fa0273c8 100644
--- a/drivers/hid/i2c-hid/i2c-hid-of.c
+++ b/drivers/hid/i2c-hid/i2c-hid-of.c
@@ -157,7 +157,7 @@ static struct i2c_driver i2c_hid_of_driver = {
.of_match_table = of_match_ptr(i2c_hid_of_match),
},
- .probe_new = i2c_hid_of_probe,
+ .probe = i2c_hid_of_probe,
.remove = i2c_hid_core_remove,
.shutdown = i2c_hid_core_shutdown,
.id_table = i2c_hid_of_id_table,