[PATCH] pwm: clps71xx: Implement .apply() callback
Thierry Reding
thierry.reding at gmail.com
Fri Apr 22 09:52:49 PDT 2022
On Fri, Apr 08, 2022 at 05:45:20PM +0200, Uwe Kleine-König wrote:
> To eventually get rid of all legacy drivers convert this driver to the
> modern world implementing .apply().
>
> This fixes a small issue in clps711x_get_duty() en passant: the
> multiplication v * 0xf might have overflown.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
> drivers/pwm/pwm-clps711x.c | 68 ++++++++++++--------------------------
> 1 file changed, 21 insertions(+), 47 deletions(-)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220422/7f3a7e47/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list