gma500: Fix backlight crash

We need to check the NULL case earlier.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alan Cox 2011-07-05 15:44:34 +01:00 • committed by Greg Kroah-Hartman
commit 6a8ca6f5ff