Re: [PATCH v2 3/8] net: macb: add function to disable all macb clocks
From: Jakub Kicinski
Date: Tue Dec 08 2020 - 19:23:35 EST
On Tue, 8 Dec 2020 19:48:56 +0100 Andrew Lunn wrote:
> > -err_disable_rxclk:
> > - clk_disable_unprepare(*rx_clk);
> > -
> > -err_disable_txclk:
> > - clk_disable_unprepare(*tx_clk);
> > -
> > -err_disable_hclk:
> > - clk_disable_unprepare(*hclk);
> > -
> > -err_disable_pclk:
> > - clk_disable_unprepare(*pclk);
> > +err_disable_clks:
> > + macb_clks_disable(*pclk, *hclk, *tx_clk, *rx_clk, NULL);
>
> Personal taste, but i would of not changed this.
+1 FWIW