]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: rockchip: samsung-hdptx: Rename ambiguous rk_hdptx_phy->rate
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 18 Mar 2025 12:35:46 +0000 (14:35 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Apr 2025 11:48:04 +0000 (17:18 +0530)
commit37f335dbfd028c008d0a7940ca5a270d1e2f6b81
tree02ba79cdeea9928ecf09ff222e2e52c01a215e43
parent6efbd0f46dd8ae1d2b91b41d98c2800c60ab1f5e
phy: rockchip: samsung-hdptx: Rename ambiguous rk_hdptx_phy->rate

The main purpose of the ->rate member of struct rk_hdptx_phy is to
implement rk_hdptx_phy_clk_recalc_rate() by providing the actual rate
programmed in hardware.  Hence the current naming is too generic and
rather ambiguous.

Improve clarity by renaming ->rate to ->hw_rate.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20250318-phy-sam-hdptx-bpc-v6-12-8cb1678e7663@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c