diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-01-11 13:13:06 +0000 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-01-15 17:44:46 -0800 |
commit | 41ce25657bcd631235c123ace9d2f37c995e123d (patch) | |
tree | 08c647829839a05c173a1556866916c64b2eb394 /drivers/power | |
parent | f902dadc123376b973e5f9cb216a22675a2a9181 (diff) |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/ab8500_fg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index 570577c32ad..cd03549b622 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c @@ -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; |