diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2023-05-25 14:52:56 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-07-12 19:57:42 +0300 |
commit | 94255d981f63fd106ed4f72abd26174ca55f84fa (patch) | |
tree | 8b11970ec2f26b46bd863cafb3a637396ba476a8 /drivers/phy/mediatek/phy-mtk-mipi-dsi.h | |
parent | e464a3180a43b6596bd267f9f274e1793bfb8150 (diff) | |
download | linux-94255d981f63fd106ed4f72abd26174ca55f84fa.tar.xz |
phy: mediatek: mipi-dsi: Convert to register clk_hw
Instead of registering a struct clk, directly register clk_hw: this
allows us to cleanup a pointer to struct clk from struct mtk_mipi_tx.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230525115258.90091-2-angelogioacchino.delregno@collabora.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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.h b/drivers/phy/mediatek/phy-mtk-mipi-dsi.h index 47b60b1a7226..0250c4a454e7 100644 --- a/drivers/phy/mediatek/phy-mtk-mipi-dsi.h +++ b/drivers/phy/mediatek/phy-mtk-mipi-dsi.h @@ -32,7 +32,6 @@ struct mtk_mipi_tx { u32 rt_code[5]; const struct mtk_mipitx_data *driver_data; struct clk_hw pll_hw; - struct clk *pll; }; struct mtk_mipi_tx *mtk_mipi_tx_from_clk_hw(struct clk_hw *hw); |