mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
ACPI / battery: make warning greppable
Signed-off-by: Martin Kepplinger <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
06e5801b8c
commit
9237516c1b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue