ACPI video: Harden video bus adding.
authorIgor Murzov <intergalactic.anonymous@gmail.com>
Fri, 30 Mar 2012 17:32:08 +0000 (21:32 +0400)
committerLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 19:44:05 +0000 (15:44 -0400)
commitea9f8856bd6d4ed45885b06a338f7362cd6c60e5
tree85f9eeb1d08bb3b9f22310acc0f5a15c572ee3aa
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7
ACPI video: Harden video bus adding.

It is always better to check return values, so add some new checks and
correct existing ones.

v2: Be consistent and don't mix errors from -E* and AE_* namespaces.

Signed-off-by: Igor Murzov <e-mail@date.by>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c