Re: [PATCH] can: m_can: remove redundant check for pm_clock_support

From: Francesco Dolcini
Date: Fri Feb 16 2024 - 02:45:58 EST


Hello Marc and Vincent,

On Fri, Jan 05, 2024 at 12:57:23AM +0100, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
>
> m_can_clk_start() already skip starting the clock when
> clock support is disabled, remove the redundant check in
> m_can_class_register().
>
> This also solves the imbalance with m_can_clk_stop() that is called
> afterward in the same function before the return.
>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>

Did you missed this? Or do you have some concern with it?

Francesco