ACPI: fix potential OOPS in power driver with CONFIG_ACPI_DEBUG
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 24 Aug 2006 03:18:06 +0000 (23:18 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 14 Oct 2006 05:54:21 +0000 (01:54 -0400)
commit786f18c666d7202a86a8aa42a98783b115fe8739
treee5c304ec8a0caf57b8b7d87a6e73cfa65e17d53d
parentb4bd8c66435a8cdf8c90334fb3b517a23ff2ab95
ACPI: fix potential OOPS in power driver with CONFIG_ACPI_DEBUG

device was set to null and used before set in a debug printk

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/power.c