Re: [PATCHv2] pwm: lpc-18xx: use pwm_set_chip_data

From: Thierry Reding
Date: Mon Sep 05 2016 - 06:15:18 EST


On Thu, Aug 25, 2016 at 06:47:09PM +0200, Olliver Schinagl wrote:
> The lpc18xx driver currently manipulates the pwm_device struct directly
> rather then using the pwm_set_chip_data. While the current method may
> save a clock cycle or two, it is more obvious that data is set to
> the local chip data pointer.
>
> Signed-off-by: Olliver Schinagl <oliver@xxxxxxxxxxx>
> ---
> Hi,
>
> This is a resend of a patch-series I sent last year. There was no technical
> related feedback and so I am re-sending the patch as is. I did rebase it to
> Linus's current master.
>
> Changes since v1:
> - removed wrongfully added sun4i patch
> - split patch series into a single patch
> - added author
>
> drivers/pwm/pwm-lpc18xx-sct.c | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)

Applied with minor bikeshedding.

Thanks,
Thierry

Attachment: signature.asc
Description: PGP signature