diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-23 21:50:53 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-06-14 04:46:41 +0200 |
commit | 922db7c571f55b1eab2d2c5da14d150aff1d0252 (patch) | |
tree | 3731c482c17d1acaebfce73b7abb26b0a0c1ac4c /drivers/macintosh/windfarm_fcu_controls.c | |
parent | powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_use... (diff) | |
download | linux-922db7c571f55b1eab2d2c5da14d150aff1d0252.tar.xz linux-922db7c571f55b1eab2d2c5da14d150aff1d0252.zip |
macintosh: 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: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230523195053.464138-1-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'drivers/macintosh/windfarm_fcu_controls.c')
-rw-r--r-- | drivers/macintosh/windfarm_fcu_controls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_fcu_controls.c b/drivers/macintosh/windfarm_fcu_controls.c index e027d889d7e8..603ef6c600ba 100644 --- a/drivers/macintosh/windfarm_fcu_controls.c +++ b/drivers/macintosh/windfarm_fcu_controls.c @@ -589,7 +589,7 @@ static struct i2c_driver wf_fcu_driver = { .name = "wf_fcu", .of_match_table = wf_fcu_of_id, }, - .probe_new = wf_fcu_probe, + .probe = wf_fcu_probe, .remove = wf_fcu_remove, .id_table = wf_fcu_id, }; |