diff options
| author | Adam Ford <aford173@gmail.com> | 2025-05-04 15:40:40 -0500 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-05-14 12:15:51 +0100 |
| commit | be79213b4f9ab6e5abf870b97f8a1cab5bf049b3 (patch) | |
| tree | 4ffd30e714c971141c075b18df0cd5776cae5843 | |
| parent | 3767474d7497a4d03f58118d02b742b903626d03 (diff) | |
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>
| -rw-r--r-- | drivers/phy/freescale/phy-fsl-samsung-hdmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c index 10fbe8dee116..40f33e5ac6f5 100644 --- a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c +++ b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c @@ -531,8 +531,8 @@ 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, - unsigned long rate, unsigned long *parent_rate) +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; u32 int_div_clk; @@ -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, }; |
