summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rk808.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-03-16 11:20:49 -0400
committerLee Jones <lee.jones@linaro.org>2015-03-26 14:20:18 +0000
commit48579a9ae8d2034215d15912c863be36166696ed (patch)
treebfa697d57411cbe9c6e4a336e2a0553591319f91 /drivers/mfd/rk808.c
parent1422731dbc14063fc7083cb090108c0d95267361 (diff)
downloadlinux-48579a9ae8d2034215d15912c863be36166696ed.tar.bz2
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/rk808.c')
0 files changed, 0 insertions, 0 deletions