drivers/pwm: pwm-fsl-ftm: use common header for FlexTimer #defines
authorPatrick Havelange <patrick.havelange@essensium.com>
Tue, 2 Apr 2019 06:30:48 +0000 (15:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 19:33:41 +0000 (21:33 +0200)
commite590eb408c8144e070e965a67eaa369677b74d1b
treecca5d030f64741c809d1b94551dab4e678affadc
parentcdff431498623f0971e01bc6f14535361ee81851
drivers/pwm: pwm-fsl-ftm: use common header for FlexTimer #defines

This also fixes the wrong value for the previously defined
FTM_MODE_INIT macro (it was not used).

Reviewed-by: Esben Haabendal <esben@haabendal.dk>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pwm/pwm-fsl-ftm.c