ACPI video: check the return value of acpi_video_device_lcd_get_level_current
authorZhang Rui <rui.zhang@intel.com>
Wed, 18 Mar 2009 08:27:08 +0000 (16:27 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 28 Mar 2009 01:48:29 +0000 (21:48 -0400)
commitc8890f903a6fdf5711726e8e8d65cb13423f8833
treea31480d951ac809e4ce43e2f483a72bba49fe194
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84
ACPI video: check the return value of acpi_video_device_lcd_get_level_current

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c