Skip to content

Commit

Permalink
clk: mediatek: mt8192: add mtk_clk_simple_remove
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miles Chen authored and Chen-Yu Tsai committed Sep 26, 2022
1 parent d36d697 commit 43eb33c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-cam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-img.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ static const struct of_device_id of_match_clk_mt8192_img[] = {

static struct platform_driver clk_mt8192_img_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-img",
.of_match_table = of_match_clk_mt8192_img,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-imp_iic_wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ static const struct of_device_id of_match_clk_mt8192_imp_iic_wrap[] = {

static struct platform_driver clk_mt8192_imp_iic_wrap_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-imp_iic_wrap",
.of_match_table = of_match_clk_mt8192_imp_iic_wrap,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-ipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ static const struct of_device_id of_match_clk_mt8192_ipe[] = {

static struct platform_driver clk_mt8192_ipe_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-ipe",
.of_match_table = of_match_clk_mt8192_ipe,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-mdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ static const struct of_device_id of_match_clk_mt8192_mdp[] = {

static struct platform_driver clk_mt8192_mdp_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-mdp",
.of_match_table = of_match_clk_mt8192_mdp,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-mfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ static const struct of_device_id of_match_clk_mt8192_mfg[] = {

static struct platform_driver clk_mt8192_mfg_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-mfg",
.of_match_table = of_match_clk_mt8192_mfg,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-msdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ static const struct of_device_id of_match_clk_mt8192_msdc[] = {

static struct platform_driver clk_mt8192_msdc_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-msdc",
.of_match_table = of_match_clk_mt8192_msdc,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-scp_adsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ static const struct of_device_id of_match_clk_mt8192_scp_adsp[] = {

static struct platform_driver clk_mt8192_scp_adsp_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-scp_adsp",
.of_match_table = of_match_clk_mt8192_scp_adsp,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-vdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ static const struct of_device_id of_match_clk_mt8192_vdec[] = {

static struct platform_driver clk_mt8192_vdec_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-vdec",
.of_match_table = of_match_clk_mt8192_vdec,
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-mt8192-venc.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static const struct of_device_id of_match_clk_mt8192_venc[] = {

static struct platform_driver clk_mt8192_venc_drv = {
.probe = mtk_clk_simple_probe,
.remove = mtk_clk_simple_remove,
.driver = {
.name = "clk-mt8192-venc",
.of_match_table = of_match_clk_mt8192_venc,
Expand Down

0 comments on commit 43eb33c

Please sign in to comment.