summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2015-03-13 00:48:17 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-18 02:08:56 +0100
commit9237516c1b96553040e95588347e2f6d337531ae (patch)
tree2468c2c795a69afc7609892e6f5b34758f2bf0f8 /drivers/acpi
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda (diff)
downloadlinux-9237516c1b96553040e95588347e2f6d337531ae.tar.bz2
ACPI / battery: make warning greppable
Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index d98ba4355819..baebd1a9b811 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -530,8 +530,8 @@ static int acpi_battery_get_state(struct acpi_battery *battery)
battery->rate_now != ACPI_BATTERY_VALUE_UNKNOWN &&
(s16)(battery->rate_now) < 0) {
battery->rate_now = abs((s16)battery->rate_now);
- printk_once(KERN_WARNING FW_BUG "battery: (dis)charge rate"
- " invalid.\n");
+ printk_once(KERN_WARNING FW_BUG
+ "battery: (dis)charge rate invalid.\n");
}
if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags)