cosa: use msecs_to_jiffies for conversions
authorNicholas Mc Guire <hofrat@osadl.org>
Sat, 6 Jun 2015 07:51:51 +0000 (09:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jun 2015 06:45:39 +0000 (23:45 -0700)
commitfb79c066bce8620fae04112b33c55f279b60d3e1
tree1f68474fa2faef3091d58c834186cd609b5368f1
parent7cf7fa529d0b6b514949cc67b39e3ce406c37006
cosa: use msecs_to_jiffies for conversions

API compliance scanning with coccinelle flagged:
./drivers/net/wan/cosa.c:520:2-18: WARNING:
timeout (30) seems HZ dependent

Numeric constants passed to schedule_timeout() make the effective
timeout HZ dependent which makes little sense in a device probe.
Fixed up by converting the constant to jiffies with msecs_to_jiffies()

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/cosa.c