staging: sm750fb: remove PANEL_DISPLAY_CTRL_TFT_DISP defines
authorMike Rapoport <mike.rapoport@gmail.com>
Wed, 10 Feb 2016 16:34:09 +0000 (18:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:52:37 +0000 (19:52 -0800)
commitf5d7f1905fb2e1b57e0b2f75ef21ce8b016a34b3
tree256a4107538e277913d2bb45e17518bf8211bc03
parent6fba39cf32a3adc84de531bb8463d208f6d6f2bf
staging: sm750fb: remove PANEL_DISPLAY_CTRL_TFT_DISP defines

The PANEL_DISPLAY_CTRL_TFT_DISP definitions artificially encode
PANEL_DISPLAY_CTRL_DUAL_DISPLAY and PANEL_DISPLAY_CTRL_DOUBLE_PIXEL bits
combinations. Replace the PANEL_DISPLAY_CTRL_TFT_DISP usage with direct use
of the bits defined in the datasheet.

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