phy/rockchip: Remove the unused function hw_to_inno
Subsystems (2)
PATCH 1/1 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'.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c +0 -5
@@ -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) {
Signature · 1 line
2.20.1.7.g153144c