]> git.karo-electronics.de Git - linux-beck.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)
commitc808d6ce4a2a2d923fbf29e054ff08c0141703c0
tree191e187aa5c5759d22dde883f091107f793c40ec
parent9eced7438d864c33e6de781bb47f0f21a784c8c5
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