]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07f769be66655cc7a1fc4d9017a62a7669e37fd3
treefb45b09cc7e5df9d4cf7bd55b8d3a0210c2b5316
parentb8fa218b2f3a5f350feb375346e435ee2813233a
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