gma500: tidy up the opregion and lid code
authorAlan Cox <alan@linux.intel.com>
Tue, 5 Jul 2011 14:42:23 +0000 (15:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 15:20:43 +0000 (08:20 -0700)
commitb21fb57908c02a9cc0a62edcffc7fba00286e6d2
tree3cdfe5ac42bf0856a971cc958ad23df3c90dc9b0
parent3835ce2e69ff06c48984290e474b936a0fb56973
gma500: tidy up the opregion and lid code

This is leaking an io mapping and also referencing stuff directly that
should not be directly accessed. Sort it out

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/cdv_device.c
drivers/staging/gma500/psb_device.c
drivers/staging/gma500/psb_drv.c
drivers/staging/gma500/psb_drv.h
drivers/staging/gma500/psb_intel_opregion.c
drivers/staging/gma500/psb_lid.c