diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-20 19:21:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-22 11:41:57 +0100 |
commit | efc3001f8b44bf5da0f178bd726a73c73f370707 (patch) | |
tree | 831fade45ee8df29892f6113a2221c03d3823044 /drivers/nfc/st-nci/i2c.c | |
parent | fe79bd65c819cc520aa66de65caae8e4cea29c5a (diff) | |
download | linux-efc3001f8b44bf5da0f178bd726a73c73f370707.tar.gz linux-efc3001f8b44bf5da0f178bd726a73c73f370707.tar.bz2 linux-efc3001f8b44bf5da0f178bd726a73c73f370707.zip |
nfc: 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>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/st-nci/i2c.c')
-rw-r--r-- | drivers/nfc/st-nci/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/st-nci/i2c.c b/drivers/nfc/st-nci/i2c.c index 6b5eed8a1fbe..d20a337e90b4 100644 --- a/drivers/nfc/st-nci/i2c.c +++ b/drivers/nfc/st-nci/i2c.c @@ -283,7 +283,7 @@ static struct i2c_driver st_nci_i2c_driver = { .of_match_table = of_match_ptr(of_st_nci_i2c_match), .acpi_match_table = ACPI_PTR(st_nci_i2c_acpi_match), }, - .probe_new = st_nci_i2c_probe, + .probe = st_nci_i2c_probe, .id_table = st_nci_i2c_id_table, .remove = st_nci_i2c_remove, }; |