diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2022-09-20 12:00:32 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-24 09:27:50 +0300 |
commit | 299a9c72ac7a4ac54cd0482c7d7829f482a88851 (patch) | |
tree | e6c50c3c5b2cb965dfcafdae55b6c8efb0a3294d /drivers/phy/mediatek/phy-mtk-hdmi.h | |
parent | 0fb5e57e67b299eed2859614f4229f40c6c19cfc (diff) | |
download | linux-299a9c72ac7a4ac54cd0482c7d7829f482a88851.tar.xz |
phy: mediatek: hdmi: 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-13-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/mediatek/phy-mtk-hdmi.h')
-rw-r--r-- | drivers/phy/mediatek/phy-mtk-hdmi.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/phy/mediatek/phy-mtk-hdmi.h b/drivers/phy/mediatek/phy-mtk-hdmi.h index dcf9bb13699b..c7fa65cff989 100644 --- a/drivers/phy/mediatek/phy-mtk-hdmi.h +++ b/drivers/phy/mediatek/phy-mtk-hdmi.h @@ -9,7 +9,6 @@ #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/delay.h> -#include <linux/io.h> #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of_device.h> @@ -42,12 +41,6 @@ struct mtk_hdmi_phy { unsigned int ibias_up; }; -void mtk_hdmi_phy_clear_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, - u32 bits); -void mtk_hdmi_phy_set_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, - u32 bits); -void mtk_hdmi_phy_mask(struct mtk_hdmi_phy *hdmi_phy, u32 offset, - u32 val, u32 mask); struct mtk_hdmi_phy *to_mtk_hdmi_phy(struct clk_hw *hw); extern struct mtk_hdmi_phy_conf mtk_hdmi_phy_8173_conf; |