summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/da9052-i2c.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-06-08 21:16:28 +0200
committerDavid S. Miller <davem@davemloft.net>2015-06-08 15:48:45 -0700
commit684b4ac14f4306c877834a8daaf0f0665128eae4 (patch)
tree862a69c5b467eae81e7be34b8cd072592c0032a5 /drivers/mfd/da9052-i2c.c
parent6da8253bdd3945b81377e4908d6d395a9956f8af (diff)
downloadtalos-op-linux-684b4ac14f4306c877834a8daaf0f0665128eae4.tar.gz
talos-op-linux-684b4ac14f4306c877834a8daaf0f0665128eae4.zip
atm: use msecs_to_jiffies for conversions
API compliance scanning with coccinelle flagged: ./drivers/atm/iphase.c:2621:4-20: WARNING: timeout (50) seems HZ dependent Numeric constants passed to schedule_timeout() make the effective timeout HZ dependent which does not seem intended. Fixed up by converting the constant to jiffies with msecs_to_jiffies() As this driver was introduced in the early 2.3 series it is most likely assuming HZ=100 so the constant 50 is converted to 500ms. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/da9052-i2c.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud