ACPI / glue: Fix build with ACPI_GLUE_DEBUG set
authorYinghai Lu <yinghai@kernel.org>
Sat, 12 Jan 2013 13:00:06 +0000 (14:00 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 12 Jan 2013 13:00:06 +0000 (14:00 +0100)
commita412a11d6a24aebb6a898ed5d4e1c0725b638da3
treede1f9c2dd4590fdc1a14ad46db62e3e15e141f5e
parent392370e7aa387185349946d29a0e17b918e51ae6
ACPI / glue: Fix build with ACPI_GLUE_DEBUG set

If ACPI_GLUE_DEBUG is different from 0 (setting this requires a
manual change of glue.c), build breaks because of a leftover
reference to dev->acpi_handle in acpi_platform_notify().  Fix this
by using ACPI_HANDLE(dev) instead as appropriate.

[rjw: Subject and changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/glue.c