projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5066c9a
)
clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe
author
Yassine Oudjana
<y.oudjana@protonmail.com>
Sat, 13 Aug 2022 08:33:20 +0000
(09:33 +0100)
committer
Chen-Yu Tsai
<wenst@chromium.org>
Mon, 26 Sep 2022 07:05:43 +0000
(15:05 +0800)
Register gates with dev in mtk_clk_simple_probe.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link:
https://lore.kernel.org/r/20220813083319.45455-1-y.oudjana@protonmail.com
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
drivers/clk/mediatek/clk-mtk.c
patch
|
blob
|
history
diff --git
a/drivers/clk/mediatek/clk-mtk.c
b/drivers/clk/mediatek/clk-mtk.c
index 41e60a7e8ff97439dee447e3f9a124f6d38c31fd..3a8875b6c37f1a6cfe73386aadbef9b730af7229 100644
(file)
--- a/
drivers/clk/mediatek/clk-mtk.c
+++ b/
drivers/clk/mediatek/clk-mtk.c
@@
-434,7
+434,8
@@
int mtk_clk_simple_probe(struct platform_device *pdev)
if (!clk_data)
return -ENOMEM;
- r = mtk_clk_register_gates(node, mcd->clks, mcd->num_clks, clk_data);
+ r = mtk_clk_register_gates_with_dev(node, mcd->clks, mcd->num_clks,
+ clk_data, &pdev->dev);
if (r)
goto free_data;