gma500: unload fixes
authorAlan Cox <alan@linux.intel.com>
Mon, 14 May 2012 11:04:00 +0000 (12:04 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 17 May 2012 10:05:30 +0000 (11:05 +0100)
commit4ab2c7f15423f313187b310a48ee0ac631c414f1
tree41844429f95ed794a8b513beee8cf3a7d442d656
parent6607e024014e4920e8d3e43bcfeec0436d43d980
gma500: unload fixes

Debugging the lid problem tested various error paths which were found
wanting so start fixing them up.

There is a ton of improvement work could be done here so that every bit
of functionality agrees if its _fini, _uninit, etc, and they agree who
is responsible for deciding if the clean up is needed.

That can come later.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/gma500/intel_bios.c
drivers/gpu/drm/gma500/psb_drv.c
drivers/gpu/drm/gma500/psb_drv.h