* [PATCH] clk: vc5: Use i2c .probe_new
@ 2021-09-28 9:50 Luca Ceresoli
2021-11-02 21:28 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Luca Ceresoli @ 2021-09-28 9:50 UTC (permalink / raw)
To: linux-clk; +Cc: Michael Turquette, Stephen Boyd, linux-kernel, Luca Ceresoli
The old .probe is "soon to be deprecated". Use the new, simpler form.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
drivers/clk/clk-versaclock5.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c
index c6d3b1ab3d55..e7be3e54b9be 100644
--- a/drivers/clk/clk-versaclock5.c
+++ b/drivers/clk/clk-versaclock5.c
@@ -905,7 +905,7 @@ static int vc5_get_output_config(struct i2c_client *client,
static const struct of_device_id clk_vc5_of_match[];
-static int vc5_probe(struct i2c_client *client, const struct i2c_device_id *id)
+static int vc5_probe(struct i2c_client *client)
{
unsigned int oe, sd, src_mask = 0, src_val = 0;
struct vc5_driver_data *vc5;
@@ -1244,7 +1244,7 @@ static struct i2c_driver vc5_driver = {
.pm = &vc5_pm_ops,
.of_match_table = clk_vc5_of_match,
},
- .probe = vc5_probe,
+ .probe_new = vc5_probe,
.remove = vc5_remove,
.id_table = vc5_id,
};
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: vc5: Use i2c .probe_new
2021-09-28 9:50 [PATCH] clk: vc5: Use i2c .probe_new Luca Ceresoli
@ 2021-11-02 21:28 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2021-11-02 21:28 UTC (permalink / raw)
To: Luca Ceresoli, linux-clk; +Cc: Michael Turquette, linux-kernel, Luca Ceresoli
Quoting Luca Ceresoli (2021-09-28 02:50:41)
> The old .probe is "soon to be deprecated". Use the new, simpler form.
>
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-02 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 9:50 [PATCH] clk: vc5: Use i2c .probe_new Luca Ceresoli
2021-11-02 21:28 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.