[PATCH v3 2/7] pwm: rockchip: Remove the judge from return value of pwm_config

Thierry Reding thierry.reding at gmail.com
Fri Aug 18 08:32:55 PDT 2017


On Tue, Aug 08, 2017 at 11:38:30PM +0800, David Wu wrote:
> It seems the rockchip_pwm_config always returns the result 0,
> so remove the judge.
> 
> Signed-off-by: David Wu <david.wu at rock-chips.com>
> Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
> ---
>  drivers/pwm/pwm-rockchip.c | 12 ++----------
>  1 file changed, 2 insertions(+), 10 deletions(-)

I don't understand what the "judge" is supposed to be, but I've applied
this to for-4.14/drivers anyway. 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/20170818/416eac75/attachment-0001.sig>


More information about the linux-arm-kernel mailing list