Re: [PATCH] pwm: sti: Fix the error handling path of sti_pwm_probe()

From: Uwe Kleine-König
Date: Sun Apr 16 2023 - 13:02:43 EST


Hello,

On Sun, Apr 16, 2023 at 10:32:24AM +0200, Christophe JAILLET wrote:
> Rewrite the error handing path of sti_pwm_probe() to avoid some leaks.

There are also some clk_put()'s missing. See
https://lore.kernel.org/linux-pwm/20201013081531.661528-1-uwe@xxxxxxxxxxxxxxxxx
for an older fix of the things you noticed.

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |

Attachment: signature.asc
Description: PGP signature