Re: [PATCH] can: mscan: mpc5xxx: fix error handling code in mpc5xxx_can_probe

From: Andy Shevchenko
Date: Mon Oct 24 2022 - 08:35:49 EST


On Mon, Oct 24, 2022 at 07:48:07PM +0800, Dongliang Mu wrote:
> The commit 1149108e2fbf ("can: mscan: improve clock API use
> ") only adds put_clock in mpc5xxx_can_remove function, forgetting to add

Strange indentation. Why the '")' part can't be on the previous line?

> put_clock in the error handling code.
>
> Fix this bug by adding put_clock in the error handling code.

--
With Best Regards,
Andy Shevchenko