]> err.no Git - linux-2.6/commit
ACPI: video - properly handle errors when registering proc elements
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 5 Nov 2007 16:43:34 +0000 (11:43 -0500)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 14:50:41 +0000 (10:50 -0400)
commit251cb0bc795f5c0d8ca27df093319e5b39966174
tree2ac0efa68dfa9f43dda278a1df15386260164257
parent78eed028f13b1a0b2612368dff3786e400e6cf8b
ACPI: video - properly handle errors when registering proc elements

Have acpi_video_device_add_fs() and acpi_video_bus_add_fs()
properly unwind proc creation after error.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c