summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-si521xx.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-05-26 09:09:55 +0300
committerStephen Boyd <sboyd@kernel.org>2023-06-13 04:16:43 +0300
commit16d4f5378d964c20be1ecce17341b5c81a1eef88 (patch)
tree815c8135a5a473d7de788c219ee9d659e65359b4 /drivers/clk/clk-si521xx.c
parent62279db5a3234d2d51310062fa2253b3a0de6fcf (diff)
downloadlinux-16d4f5378d964c20be1ecce17341b5c81a1eef88.tar.xz
clk: si521xx: Switch i2c driver 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/20230526060955.1130253-1-u.kleine-koenig@pengutronix.de Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-si521xx.c')
-rw-r--r--drivers/clk/clk-si521xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-si521xx.c b/drivers/clk/clk-si521xx.c
index ac8d4c59cd3d..4eaf1b53f06b 100644
--- a/drivers/clk/clk-si521xx.c
+++ b/drivers/clk/clk-si521xx.c
@@ -385,7 +385,7 @@ static struct i2c_driver si521xx_driver = {
.pm = &si521xx_pm_ops,
.of_match_table = clk_si521xx_of_match,
},
- .probe_new = si521xx_probe,
+ .probe = si521xx_probe,
.id_table = si521xx_id,
};
module_i2c_driver(si521xx_driver);