From: Martin Kepplinger Date: Thu, 12 Mar 2015 23:48:17 +0000 (+0100) Subject: ACPI / battery: make warning greppable X-Git-Tag: firefly_0821_release~176^2~1977^2~7^3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9237516c1b96553040e95588347e2f6d337531ae;p=firefly-linux-kernel-4.4.55.git ACPI / battery: make warning greppable Signed-off-by: Martin Kepplinger Signed-off-by: Rafael J. Wysocki --- 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)