On Tue, Oct 21, 2025 at 05:08:27PM +0100, Andrew Goodbody wrote:
> clk_register() will return standard error codes so the use of ERR_PTR()
> is incorrect. Furthermore the code was ineffective as it lacked a return
> statement that would have actually made use of the result. Add the
> return statement and remove the use of ERR_PTR to correct this.
> 
> Signed-off-by: Andrew Goodbody <[email protected]>
> ---
>  drivers/clk/microchip/mpfs_clk_cfg.c    | 2 +-
>  drivers/clk/microchip/mpfs_clk_msspll.c | 2 +-
>  drivers/clk/microchip/mpfs_clk_periph.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Acked-by: Conor Dooley <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to