[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20221018074557.91724-1-jiapeng.chong@linux.alibaba.com>
Date: Tue, 18 Oct 2022 15:45:57 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: vkoul@...nel.org
Cc: kishon@...nel.org, heiko@...ech.de, p.zabel@...gutronix.de,
linux-phy@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] phy/rockchip: Remove the unused function hw_to_inno
The function hw_to_inno() is defined in the phy-rockchip-inno-dsidphy.c
file, but not called elsewhere, so delete this unused function.
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c:203:36: warning: unused function 'hw_to_inno'.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2425
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
index 2c5847faff63..587994353c58 100644
--- a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
+++ b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
@@ -281,11 +281,6 @@ struct inno_mipi_dphy_timing inno_mipi_dphy_timing_table_max_2_5ghz[] = {
{2500000000, 0x15, 0x54, 0x7f, 0x15, 0x6a},
};
-static inline struct inno_dsidphy *hw_to_inno(struct clk_hw *hw)
-{
- return container_of(hw, struct inno_dsidphy, pll.hw);
-}
-
static void phy_update_bits(struct inno_dsidphy *inno,
u8 first, u8 second, u8 mask, u8 val)
{
--
2.20.1.7.g153144c
Powered by blists - more mailing lists