diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-25 23:56:22 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-06-14 05:46:41 +0300 |
commit | 48f2444eb4dc0f3de9146f7278e859fa6b5e568b (patch) | |
tree | d6ebb5dd95a6fdc14df37a8869127407f84f8843 /arch/powerpc/platforms/44x/ppc476.c | |
parent | 922db7c571f55b1eab2d2c5da14d150aff1d0252 (diff) | |
download | linux-48f2444eb4dc0f3de9146f7278e859fa6b5e568b.tar.xz |
powerpc: 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: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230525205622.734093-1-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'arch/powerpc/platforms/44x/ppc476.c')
-rw-r--r-- | arch/powerpc/platforms/44x/ppc476.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/44x/ppc476.c b/arch/powerpc/platforms/44x/ppc476.c index fbc6edad481f..164cbcd4588e 100644 --- a/arch/powerpc/platforms/44x/ppc476.c +++ b/arch/powerpc/platforms/44x/ppc476.c @@ -103,7 +103,7 @@ static struct i2c_driver avr_driver = { .driver = { .name = "akebono-avr", }, - .probe_new = avr_probe, + .probe = avr_probe, .id_table = avr_id, }; |