diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-03-16 18:20:49 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-03-26 17:20:18 +0300 |
commit | 48579a9ae8d2034215d15912c863be36166696ed (patch) | |
tree | bfa697d57411cbe9c6e4a336e2a0553591319f91 /drivers/mfd/hi6421-pmic-core.c | |
parent | 1422731dbc14063fc7083cb090108c0d95267361 (diff) | |
download | linux-48579a9ae8d2034215d15912c863be36166696ed.tar.xz |
mfd: dln2: Use msecs_to_jiffies for time conversion
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
OK but msecs_to_jiffies(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: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/hi6421-pmic-core.c')
0 files changed, 0 insertions, 0 deletions