summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-26 23:04:31 -0400
committerLen Brown <len.brown@intel.com>2006-06-27 00:00:54 -0400
commitcece92969762b8ed7930d4e23008b76b06411dee (patch)
treeab3d84b71971f0405ab2b1b36d9fdd39b0bda55e /drivers/acpi/power.c
parent64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881 (diff)
downloadlinux-cece92969762b8ed7930d4e23008b76b06411dee.tar.gz
linux-cece92969762b8ed7930d4e23008b76b06411dee.tar.bz2
linux-cece92969762b8ed7930d4e23008b76b06411dee.zip
ACPI: un-export ACPI_WARNING() -- use printk(KERN_WARNING...)
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index 5712803ddc78..43688c8280e5 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -105,7 +105,7 @@ acpi_power_get_context(acpi_handle handle,
result = acpi_bus_get_device(handle, &device);
if (result) {
- ACPI_WARNING((AE_INFO, "Getting context [%p]", handle));
+ printk(KERN_WARNING PREFIX "Getting context [%p]\n", handle);
return_VALUE(result);
}
@@ -441,8 +441,8 @@ int acpi_power_transition(struct acpi_device *device, int state)
device->power.state = state;
end:
if (result)
- ACPI_WARNING((AE_INFO, "Transitioning device [%s] to D%d",
- device->pnp.bus_id, state));
+ printk(KERN_WARNING PREFIX "Transitioning device [%s] to D%d\n",
+ device->pnp.bus_id, state);
return_VALUE(result);
}