summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-mt8192-cam.c
diff options
context:
space:
mode:
authorMiles Chen <miles.chen@mediatek.com>2022-09-22 12:18:35 +0300
committerChen-Yu Tsai <wenst@chromium.org>2022-09-26 06:13:45 +0300
commit43eb33c6a1112766def8099e063763733a413329 (patch)
tree1cecb51ddf268d98b9177fb9aba157c1f82c7a04 /drivers/clk/mediatek/clk-mt8192-cam.c
parentd36d697a00f1896acc305e93501697cf2ba1da54 (diff)
downloadlinux-43eb33c6a1112766def8099e063763733a413329.tar.xz
clk: mediatek: mt8192: add mtk_clk_simple_remove
mt8192 is already using mtk_clk_simple_probe, but not mtk_clk_simple_remove. Let's add mtk_clk_simple_remove for mt8192. Signed-off-by: Miles Chen <miles.chen@mediatek.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220922091841.4099-8-miles.chen@mediatek.com Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8192-cam.c')
-rw-r--r--drivers/clk/mediatek/clk-mt8192-cam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mediatek/clk-mt8192-cam.c b/drivers/clk/mediatek/clk-mt8192-cam.c
index fc74cd80b4b0..90b57d46eef7 100644
--- a/drivers/clk/mediatek/clk-mt8192-cam.c
+++ b/drivers/clk/mediatek/clk-mt8192-cam.c
@@ -98,6 +98,7 @@ static const struct of_device_id of_match_clk_mt8192_cam[] = {
static struct platform_driver clk_mt8192_cam_drv = {
.probe = mtk_clk_simple_probe,
+ .remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-cam",
.of_match_table = of_match_clk_mt8192_cam,