Commit be79213b authored by Adam Ford's avatar Adam Ford Committed by Vinod Koul
Browse files

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: default avatarUwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: default avatarAdam Ford <aford173@gmail.com>

Link: https://lore.kernel.org/r/20250504204043.418924-1-aford173@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 3767474d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ static u32 fsl_samsung_hdmi_phy_get_closest_rate(unsigned long rate,
	return frac_div_clk;
}

static long phy_clk_round_rate(struct clk_hw *hw,
static long fsl_samsung_hdmi_phy_clk_round_rate(struct clk_hw *hw,
						unsigned long rate, unsigned long *parent_rate)
{
	const struct phy_config *fract_div_phy;
@@ -616,7 +616,7 @@ static int phy_clk_set_rate(struct clk_hw *hw,

static const struct clk_ops phy_clk_ops = {
	.recalc_rate = phy_clk_recalc_rate,
	.round_rate = phy_clk_round_rate,
	.round_rate = fsl_samsung_hdmi_phy_clk_round_rate,
	.set_rate = phy_clk_set_rate,
};