summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.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/bus.c
parent64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881 (diff)
downloadblackbird-op-linux-cece92969762b8ed7930d4e23008b76b06411dee.tar.gz
blackbird-op-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/bus.c')
-rw-r--r--drivers/acpi/bus.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index f4a36d372cac..6c6286290127 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -214,13 +214,13 @@ int acpi_bus_set_power(acpi_handle handle, int state)
}
}
if (!device->power.states[state].flags.valid) {
- ACPI_WARNING((AE_INFO, "Device does not support D%d", state));
+ printk(KERN_WARNING PREFIX "Device does not support D%d\n", state);
return_VALUE(-ENODEV);
}
if (device->parent && (state < device->parent->power.state)) {
- ACPI_WARNING((AE_INFO,
+ printk(KERN_WARNING PREFIX
"Cannot set device to a higher-powered"
- " state than parent"));
+ " state than parent\n");
return_VALUE(-ENODEV);
}
@@ -263,9 +263,9 @@ int acpi_bus_set_power(acpi_handle handle, int 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);
else
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"Device [%s] transitioned to D%d\n",
OpenPOWER on IntegriCloud