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)
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>

No differences found