Re: [PATCH] phy: adjust function name reference

From: Daniel Golle

Date: Tue Dec 30 2025 - 12:15:04 EST


On Tue, Dec 30, 2025 at 03:06:01PM +0100, Julia Lawall wrote:
> There is no function clk_bulk_prepare_disable. Refer instead to
> clk_bulk_disable_unprepare, which is called in the function
> defined just below.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>

Thanks for spotting this obviously wrong comment!

Reviewed-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>

>
> ---
> drivers/phy/mediatek/phy-mtk-xfi-tphy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/mediatek/phy-mtk-xfi-tphy.c b/drivers/phy/mediatek/phy-mtk-xfi-tphy.c
> index 1a0b7484f525..100a50d0e861 100644
> --- a/drivers/phy/mediatek/phy-mtk-xfi-tphy.c
> +++ b/drivers/phy/mediatek/phy-mtk-xfi-tphy.c
> @@ -353,7 +353,7 @@ static int mtk_xfi_tphy_power_on(struct phy *phy)
> * Disable and unprepare all clocks previously enabled.
> *
> * Return:
> - * See clk_bulk_prepare_disable().
> + * See clk_bulk_disable_unprepare().
> */
> static int mtk_xfi_tphy_power_off(struct phy *phy)
> {
>
>