From: Zhang Rui Date: Wed, 29 Jul 2009 00:53:29 +0000 (+0800) Subject: ACPI video: correct error-handling code X-Git-Tag: v2.6.33-rc3~32^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e01ce79b7f6ebc5b57128ee058811aa8f9059319;p=pandora-kernel.git 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 Acked-by: Julia Lawall Signed-off-by: Len Brown --- Reading git-diff-tree failed