staging: sm750fb: share common bits in display control registers
authorMike Rapoport <mike.rapoport@gmail.com>
Wed, 10 Feb 2016 16:34:04 +0000 (18:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:52:37 +0000 (19:52 -0800)
commit85e4db5347a96560928d2995a2cd05f10b856d5e
treea1111daebcfde881a288b6622d9512a8efb21bc3
parent7755265a9993b836f544aacc7b6a2a474fbde558
staging: sm750fb: share common bits in display control registers

The display control registers for primary and secondary display share some
of the bits and those bits can be defined in a single place and then used
for manipulations of the relevant registers.

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_display.c
drivers/staging/sm750fb/ddk750_mode.c
drivers/staging/sm750fb/ddk750_reg.h