ACPI / battery: make warning greppable
Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
06e5801b8c
commit
9237516c1b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue