pwm: imx: Use bitops and bitfield macros to define register values
authorMichal Vokáč <michal.vokac@ysoft.com>
Mon, 1 Oct 2018 14:19:47 +0000 (16:19 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 12 Dec 2018 10:52:32 +0000 (11:52 +0100)
commit9f617ada9f823dff1944ebcf92ef4a05f5f322b7
treefb45b09cc7e5df9d4cf7bd55b8d3a0210c2b5316
parente3adc7efe678ba907f99791f5adfee81faea10e6
pwm: imx: Use bitops and bitfield macros to define register values

Use existing macros to define register fields instead of manually shifting
the bit masks. Also define some more register bits.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-imx.c