mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 09:43:59 +08:00
ab8500_fg: Remove pointless round_jiffies() call
As HZ is a full-second, there is little point in rounding it. Let's save a few cycles by using HZ directly. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
This commit is contained in:
parent
f902dadc12
commit
41ce25657b
@ -1854,7 +1854,7 @@ static void ab8500_fg_check_hw_failure_work(struct work_struct *work)
|
||||
}
|
||||
/* Not yet recovered from ovv, reschedule this test */
|
||||
queue_delayed_work(di->fg_wq, &di->fg_check_hw_failure_work,
|
||||
round_jiffies(HZ));
|
||||
HZ);
|
||||
} else {
|
||||
dev_dbg(di->dev, "Battery recovered from OVV\n");
|
||||
di->flags.bat_ovv = false;
|
||||
|
Loading…
Reference in New Issue
Block a user