diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2022-09-20 12:00:38 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-24 09:27:51 +0300 |
commit | 60d9b6aaabe827e5ed025355e7d4622f6506b91e (patch) | |
tree | 310877f91cdbde0565226f078573ea6f86a008e0 /drivers/phy/mediatek/phy-mtk-mipi-dsi.h | |
parent | 5f88a93b5aa9bbc85831877c456a9114ba67ea4a (diff) | |
download | linux-60d9b6aaabe827e5ed025355e7d4622f6506b91e.tar.xz |
phy: mediatek: mipi: remove register access helpers
Remove private register access helpers, use the common ones instead.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220920090038.15133-19-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/mediatek/phy-mtk-mipi-dsi.h')
-rw-r--r-- | drivers/phy/mediatek/phy-mtk-mipi-dsi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.h b/drivers/phy/mediatek/phy-mtk-mipi-dsi.h index c76f07c3fdeb..47b60b1a7226 100644 --- a/drivers/phy/mediatek/phy-mtk-mipi-dsi.h +++ b/drivers/phy/mediatek/phy-mtk-mipi-dsi.h @@ -10,7 +10,6 @@ #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/delay.h> -#include <linux/io.h> #include <linux/module.h> #include <linux/nvmem-consumer.h> #include <linux/of_device.h> @@ -37,10 +36,6 @@ struct mtk_mipi_tx { }; struct mtk_mipi_tx *mtk_mipi_tx_from_clk_hw(struct clk_hw *hw); -void mtk_mipi_tx_clear_bits(struct mtk_mipi_tx *mipi_tx, u32 offset, u32 bits); -void mtk_mipi_tx_set_bits(struct mtk_mipi_tx *mipi_tx, u32 offset, u32 bits); -void mtk_mipi_tx_update_bits(struct mtk_mipi_tx *mipi_tx, u32 offset, u32 mask, - u32 data); int mtk_mipi_tx_pll_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate); unsigned long mtk_mipi_tx_pll_recalc_rate(struct clk_hw *hw, |