]> git.baikalelectronics.ru Git - kernel.git/commit
staging: sm750fb: use BIT macro for DE_STATE1 single-bit field
authorMike Rapoport <mike.rapoport@gmail.com>
Sun, 17 Jan 2016 18:04:15 +0000 (20:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:51:36 +0000 (18:51 -0800)
commit50b97fea6fe37ace25519d3a82bebf24f9622eb8
tree191e187aa5c5759d22dde883f091107f793c40ec
parentb303b7f72f157211ad9b88785266c73a016d03a6
staging: sm750fb: use BIT macro for DE_STATE1 single-bit field

Replace complex definition of DE_STATE1 field and usage of FIELD_SET with
BIT() macro and open-coded register value modifications

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