gfx: display: remove another redundant panel state variable gbdispstatus
authorJani Nikula <jani.nikula@intel.com>
Thu, 5 Jan 2012 13:35:35 +0000 (15:35 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:26 +0000 (12:29 +0300)
commit1eb08656de615fe08e2bbcf22dbae735efd2f69f
tree9d12b5a2a074c5924d9eda9a2df25651bb2cb95e
parentce3e4c7e125ba8e06a272f55ea2487a40e554cdf
gfx: display: remove another redundant panel state variable gbdispstatus

The dev_priv->dpi_panel_on{,2} fields already track panel state. Use those
instead of gbdispstatus.

The old implementation could not have worked any better for DBI panels than
this one, but leave a comment to revisit this.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/mdfld_dsi_dpi.c
drivers/staging/mrst/drv/psb_powermgmt.c
drivers/staging/mrst/drv/psb_powermgmt.h
drivers/staging/mrst/drv/tpo_cmd.c