diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-04-27 14:55:31 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-05-10 14:05:34 -0700 |
commit | 62279db5a3234d2d51310062fa2253b3a0de6fcf (patch) | |
tree | 86b0e118a0f80ffa6d1f5861288831374279b582 /drivers/clk/clk-versaclock7.c | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
download | linux-62279db5a3234d2d51310062fa2253b3a0de6fcf.tar.gz linux-62279db5a3234d2d51310062fa2253b3a0de6fcf.tar.bz2 linux-62279db5a3234d2d51310062fa2253b3a0de6fcf.zip |
clk: 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/20230427125531.622202-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-versaclock7.c')
-rw-r--r-- | drivers/clk/clk-versaclock7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-versaclock7.c b/drivers/clk/clk-versaclock7.c index 8e4f86e852aa..056513a46167 100644 --- a/drivers/clk/clk-versaclock7.c +++ b/drivers/clk/clk-versaclock7.c @@ -1298,7 +1298,7 @@ static struct i2c_driver vc7_i2c_driver = { .name = "vc7", .of_match_table = vc7_of_match, }, - .probe_new = vc7_probe, + .probe = vc7_probe, .remove = vc7_remove, .id_table = vc7_i2c_id, }; |