gfx: display: reduce the use of global variables
authorJani Nikula <jani.nikula@intel.com>
Mon, 5 Dec 2011 10:37:49 +0000 (12:37 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:45 +0000 (12:28 +0300)
commit7443f7fe46ae0755d321f15c8251e4a52cb008a4
tree847e44da6cb3e36513acf41301b759d003c4cd12
parentc6eec4f93ba833ff0bc68a71123572e0899fb564
gfx: display: reduce the use of global variables

Do not use gpDrmDevice (a pointer to the struct drm_device) where it's
possible to derive it from other information. This is a step towards
removing gpDrmDevice altogether.

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