Skip to content

Commit be79213

Browse files
aford173vinodkoul
authored andcommitted
phy: freescale: fsl-samsung-hdmi: Rename phy_clk_round_rate
phy_clk_round_rate sounds like a generic helper function. In reality, it is unique to the phy-fsl-samsung-hdmi. Rename phy_clk_round_rate to fsl_samsung_hdmi_phy_clk_round_rate. No functional change intended. Suggested-by: Uwe Kleine-König <[email protected]> Signed-off-by: Adam Ford <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 3767474 commit be79213

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/phy/freescale/phy-fsl-samsung-hdmi.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ static u32 fsl_samsung_hdmi_phy_get_closest_rate(unsigned long rate,
531531
return frac_div_clk;
532532
}
533533

534-
static long phy_clk_round_rate(struct clk_hw *hw,
535-
unsigned long rate, unsigned long *parent_rate)
534+
static long fsl_samsung_hdmi_phy_clk_round_rate(struct clk_hw *hw,
535+
unsigned long rate, unsigned long *parent_rate)
536536
{
537537
const struct phy_config *fract_div_phy;
538538
u32 int_div_clk;
@@ -616,7 +616,7 @@ static int phy_clk_set_rate(struct clk_hw *hw,
616616

617617
static const struct clk_ops phy_clk_ops = {
618618
.recalc_rate = phy_clk_recalc_rate,
619-
.round_rate = phy_clk_round_rate,
619+
.round_rate = fsl_samsung_hdmi_phy_clk_round_rate,
620620
.set_rate = phy_clk_set_rate,
621621
};
622622

0 commit comments

Comments
 (0)