commit | 48579a9ae8d2034215d15912c863be36166696ed | [log] [tgz] |
---|---|---|
author | Nicholas Mc Guire <hofrat@osadl.org> | Mon Mar 16 11:20:49 2015 -0400 |
committer | Lee Jones <lee.jones@linaro.org> | Thu Mar 26 14:20:18 2015 +0000 |
tree | bfa697d57411cbe9c6e4a336e2a0553591319f91 | |
parent | 1422731dbc14063fc7083cb090108c0d95267361 [diff] |
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>