summaryrefslogtreecommitdiff
path: root/drivers/mfd/hi6421-pmic-core.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-03-16 18:20:49 +0300
committerLee Jones <lee.jones@linaro.org>2015-03-26 17:20:18 +0300
commit48579a9ae8d2034215d15912c863be36166696ed (patch)
treebfa697d57411cbe9c6e4a336e2a0553591319f91 /drivers/mfd/hi6421-pmic-core.c
parent1422731dbc14063fc7083cb090108c0d95267361 (diff)
downloadlinux-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