pwm: imx: Remove enabled field from struct imx_chip
authorAxel Lin <axel.lin@ingics.com>
Sun, 31 Mar 2013 14:59:47 +0000 (22:59 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 2 Apr 2013 09:30:57 +0000 (11:30 +0200)
commit72da70e77f885ec9a79af9c13ff1c79b6136b75f
treef3597e5e1e9d813bf82cd5242caa80bded0cabee
parentd5714e8b9de5d3a82347fe37a9038373c44afce0
pwm: imx: Remove enabled field from struct imx_chip

We can test PWMF_ENABLED bit to know if pwm is enabled or not.
Thus remove enabled field from struct imx_chip.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-imx.c