Re: [PATCH v6 05/10] pwm: dwc: use devm_pwmchip_add

From: Uwe Kleine-König
Date: Thu Oct 20 2022 - 11:56:03 EST


On Thu, Oct 20, 2022 at 04:16:05PM +0100, Ben Dooks wrote:
> Use devm_pwmchip_add() to add the pwm chip to avoid having to manually
> remove it (useful for the next patch which adds the platform-device
> support).
>
> Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxx>

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Thanks
Uwe

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

Attachment: signature.asc
Description: PGP signature