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)
commit208be7698fe39d54242348aef375fd86180c4506
tree783a8adc93f7f0757f15de579e9a280874639531
parent9344dade4f9438c26f7eb517caeceee4d52a3a68
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