Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Adam Ford and committed by
Vinod Koul
be79213b 3767474d

+3 -3
+3 -3
drivers/phy/freescale/phy-fsl-samsung-hdmi.c
··· 531 531 return frac_div_clk; 532 532 } 533 533 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) 536 536 { 537 537 const struct phy_config *fract_div_phy; 538 538 u32 int_div_clk; ··· 616 616 617 617 static const struct clk_ops phy_clk_ops = { 618 618 .recalc_rate = phy_clk_recalc_rate, 619 - .round_rate = phy_clk_round_rate, 619 + .round_rate = fsl_samsung_hdmi_phy_clk_round_rate, 620 620 .set_rate = phy_clk_set_rate, 621 621 }; 622 622