]> git.karo-electronics.de Git - linux-beck.git/commit
staging: sm750fb: use BIT macro for DMA_ABORT_INTERRUPT single-bit fields
authorMike Rapoport <mike.rapoport@gmail.com>
Wed, 10 Feb 2016 16:34:17 +0000 (18:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:52:37 +0000 (19:52 -0800)
commit0f23be7050ca836398a5b3f2fd73227dce3ef37a
treef16916fe44848af3efbd5dbcbf17cd3479856229
parent27b047bbe1ee9c07749fb558a3d220dfd7288331
staging: sm750fb: use BIT macro for DMA_ABORT_INTERRUPT single-bit fields

Replace complex definition of DMA_ABORT_INTERRUPT register fields with
BIT() macro and use open-coded implementation for register manipulation

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c
drivers/staging/sm750fb/ddk750_reg.h