aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hp-wmi.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2009-07-29 08:53:29 +0800
committerLen Brown <len.brown@intel.com>2009-12-30 01:51:07 -0500
commite01ce79b7f6ebc5b57128ee058811aa8f9059319 (patch)
tree733b3b5aac2bc87a60b67bfe8ba75f3006a97d48 /drivers/platform/x86/hp-wmi.c
parentLinux 2.6.33-rc2 (diff)
downloadlinux-dev-e01ce79b7f6ebc5b57128ee058811aa8f9059319.tar.xz
linux-dev-e01ce79b7f6ebc5b57128ee058811aa8f9059319.zip
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>
Diffstat (limited to 'drivers/platform/x86/hp-wmi.c')
0 files changed, 0 insertions, 0 deletions