Skip to content

Commit 43eb33c

Browse files
milesdotchenwens
authored andcommitted
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 <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Tested-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent d36d697 commit 43eb33c

10 files changed

+10
-0
lines changed

drivers/clk/mediatek/clk-mt8192-cam.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ static const struct of_device_id of_match_clk_mt8192_cam[] = {
9898

9999
static struct platform_driver clk_mt8192_cam_drv = {
100100
.probe = mtk_clk_simple_probe,
101+
.remove = mtk_clk_simple_remove,
101102
.driver = {
102103
.name = "clk-mt8192-cam",
103104
.of_match_table = of_match_clk_mt8192_cam,

drivers/clk/mediatek/clk-mt8192-img.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ static const struct of_device_id of_match_clk_mt8192_img[] = {
6161

6262
static struct platform_driver clk_mt8192_img_drv = {
6363
.probe = mtk_clk_simple_probe,
64+
.remove = mtk_clk_simple_remove,
6465
.driver = {
6566
.name = "clk-mt8192-img",
6667
.of_match_table = of_match_clk_mt8192_img,

drivers/clk/mediatek/clk-mt8192-imp_iic_wrap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ static const struct of_device_id of_match_clk_mt8192_imp_iic_wrap[] = {
110110

111111
static struct platform_driver clk_mt8192_imp_iic_wrap_drv = {
112112
.probe = mtk_clk_simple_probe,
113+
.remove = mtk_clk_simple_remove,
113114
.driver = {
114115
.name = "clk-mt8192-imp_iic_wrap",
115116
.of_match_table = of_match_clk_mt8192_imp_iic_wrap,

drivers/clk/mediatek/clk-mt8192-ipe.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ static const struct of_device_id of_match_clk_mt8192_ipe[] = {
4848

4949
static struct platform_driver clk_mt8192_ipe_drv = {
5050
.probe = mtk_clk_simple_probe,
51+
.remove = mtk_clk_simple_remove,
5152
.driver = {
5253
.name = "clk-mt8192-ipe",
5354
.of_match_table = of_match_clk_mt8192_ipe,

drivers/clk/mediatek/clk-mt8192-mdp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ static const struct of_device_id of_match_clk_mt8192_mdp[] = {
7373

7474
static struct platform_driver clk_mt8192_mdp_drv = {
7575
.probe = mtk_clk_simple_probe,
76+
.remove = mtk_clk_simple_remove,
7677
.driver = {
7778
.name = "clk-mt8192-mdp",
7879
.of_match_table = of_match_clk_mt8192_mdp,

drivers/clk/mediatek/clk-mt8192-mfg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static const struct of_device_id of_match_clk_mt8192_mfg[] = {
4141

4242
static struct platform_driver clk_mt8192_mfg_drv = {
4343
.probe = mtk_clk_simple_probe,
44+
.remove = mtk_clk_simple_remove,
4445
.driver = {
4546
.name = "clk-mt8192-mfg",
4647
.of_match_table = of_match_clk_mt8192_mfg,

drivers/clk/mediatek/clk-mt8192-msdc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ static const struct of_device_id of_match_clk_mt8192_msdc[] = {
5555

5656
static struct platform_driver clk_mt8192_msdc_drv = {
5757
.probe = mtk_clk_simple_probe,
58+
.remove = mtk_clk_simple_remove,
5859
.driver = {
5960
.name = "clk-mt8192-msdc",
6061
.of_match_table = of_match_clk_mt8192_msdc,

drivers/clk/mediatek/clk-mt8192-scp_adsp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static const struct of_device_id of_match_clk_mt8192_scp_adsp[] = {
4141

4242
static struct platform_driver clk_mt8192_scp_adsp_drv = {
4343
.probe = mtk_clk_simple_probe,
44+
.remove = mtk_clk_simple_remove,
4445
.driver = {
4546
.name = "clk-mt8192-scp_adsp",
4647
.of_match_table = of_match_clk_mt8192_scp_adsp,

drivers/clk/mediatek/clk-mt8192-vdec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ static const struct of_device_id of_match_clk_mt8192_vdec[] = {
8585

8686
static struct platform_driver clk_mt8192_vdec_drv = {
8787
.probe = mtk_clk_simple_probe,
88+
.remove = mtk_clk_simple_remove,
8889
.driver = {
8990
.name = "clk-mt8192-vdec",
9091
.of_match_table = of_match_clk_mt8192_vdec,

drivers/clk/mediatek/clk-mt8192-venc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ static const struct of_device_id of_match_clk_mt8192_venc[] = {
4444

4545
static struct platform_driver clk_mt8192_venc_drv = {
4646
.probe = mtk_clk_simple_probe,
47+
.remove = mtk_clk_simple_remove,
4748
.driver = {
4849
.name = "clk-mt8192-venc",
4950
.of_match_table = of_match_clk_mt8192_venc,

0 commit comments

Comments
 (0)