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 <u.kleine-koenig@baylibre.com> Signed-off-by: Adam Ford <aford173@gmail.com> Link: https://lore.kernel.org/r/20250504204043.418924-1-aford173@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 3767474 commit be79213

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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)