commit | e01ce79b7f6ebc5b57128ee058811aa8f9059319 | [log] [tgz] |
---|---|---|
author | Zhang Rui <rui.zhang@intel.com> | Wed Jul 29 08:53:29 2009 +0800 |
committer | Len Brown <len.brown@intel.com> | Wed Dec 30 01:51:07 2009 -0500 |
tree | 733b3b5aac2bc87a60b67bfe8ba75f3006a97d48 | |
parent | 6b7b284958d47b77d06745b36bc7f36dab769d9b [diff] |
ACPI video: correct error-handling code backlight_device_register may return an ERR_PTR value rather than a valid pointer. Problem found by Julia Lawall, properly fixed by Zhang Rui. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Julia Lawall <julia@diku.dk> Signed-off-by: Len Brown <len.brown@intel.com>