ACPI / battery: make warning greppable
authorMartin Kepplinger <martink@posteo.de>
Thu, 12 Mar 2015 23:48:17 +0000 (00:48 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 01:08:56 +0000 (02:08 +0100)
Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c

index d98ba43558190b9f6957212f93a33a9ad29476da..baebd1a9b8119272232713eb25d385d2bae83844 100644 (file)
@@ -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)