diff options
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r-- | drivers/acpi/bus.c | 12 |
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) | |||
214 | } | 214 | } |
215 | } | 215 | } |
216 | if (!device->power.states[state].flags.valid) { | 216 | if (!device->power.states[state].flags.valid) { |
217 | ACPI_WARNING((AE_INFO, "Device does not support D%d", state)); | 217 | printk(KERN_WARNING PREFIX "Device does not support D%d\n", state); |
218 | return_VALUE(-ENODEV); | 218 | return_VALUE(-ENODEV); |
219 | } | 219 | } |
220 | if (device->parent && (state < device->parent->power.state)) { | 220 | if (device->parent && (state < device->parent->power.state)) { |
221 | ACPI_WARNING((AE_INFO, | 221 | printk(KERN_WARNING PREFIX |
222 | "Cannot set device to a higher-powered" | 222 | "Cannot set device to a higher-powered" |
223 | " state than parent")); | 223 | " state than parent\n"); |
224 | return_VALUE(-ENODEV); | 224 | return_VALUE(-ENODEV); |
225 | } | 225 | } |
226 | 226 | ||
@@ -263,9 +263,9 @@ int acpi_bus_set_power(acpi_handle handle, int state) | |||
263 | 263 | ||
264 | end: | 264 | end: |
265 | if (result) | 265 | if (result) |
266 | ACPI_WARNING((AE_INFO, | 266 | printk(KERN_WARNING PREFIX |
267 | "Transitioning device [%s] to D%d", | 267 | "Transitioning device [%s] to D%d\n", |
268 | device->pnp.bus_id, state)); | 268 | device->pnp.bus_id, state); |
269 | else | 269 | else |
270 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 270 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
271 | "Device [%s] transitioned to D%d\n", | 271 | "Device [%s] transitioned to D%d\n", |