Fix ACPI vs proc_create_data() mismerge
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 1 May 2008 00:10:02 +0000 (04:10 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 23:26:27 +0000 (16:26 -0700)
commite0066c4ea9ffa420cb79814411ff74fdc7b7d98e
treef01544d73a8f8e9c425b6b2ef6e851ae54658680
parent08acd4f8af42affd8cbed81cc1b69fa12ddb213f
Fix ACPI vs proc_create_data() mismerge

acpi_device_dir() is NULL until all files are createst, so everyting is
created in straight in /proc/ and creation code warns.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/video.c