gfx: drv: clean up the save/restore of the palette regs
authorImre Deak <imre.deak@intel.com>
Tue, 6 Mar 2012 19:17:25 +0000 (21:17 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:27 +0000 (12:30 +0300)
commitbce03bb404585fd4921f17e04d50d672a496e81b
treeb0158d9bc91c7a5de3a17116ae07ea63eb4aed04
parent61bf9aff74162cff1cf902a23aef01099e1f344c
gfx: drv: clean up the save/restore of the palette regs

We have the same set of palette regs for each pipe, so store them to an
appropriate array instead of separate variables named after the pipe.

No functional change.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_drv.h
drivers/staging/mrst/drv/psb_intel_display.c
drivers/staging/mrst/drv/psb_powermgmt.c