Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 298631e1 authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Sebastian Reichel
Browse files

ab8500_fg: use jiffies_to_msecs for jiffies conversion



Converting jiffies to milliseconds by "val * 1000 / HZ" is technically
OK but jiffies_to_msecs(val) is the cleaner solution and handles all
corner cases correctly. This is a minor API consolidation only and
should make things more readable.

Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 5ae6e2a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment