]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: Use the DT macro directly when parsing PWM DT flags
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 17 Jul 2013 22:54:22 +0000 (00:54 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 3 Sep 2013 11:08:10 +0000 (13:08 +0200)
commit66cb8fc43922f9231c7c5428b9a819cb06387273
tree783a8adc93f7f0757f15de579e9a280874639531
parent3a02dbcbd2ca74a8d97a4223bad14eaa6ea54cdc
pwm: Use the DT macro directly when parsing PWM DT flags

Don't redefine a PWM_SPEC_POLARITY macro with a value identical to
PWM_POLARITY_INVERTED, use the PWM DT macro directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c