et131x: use msecs_to_jiffies for conversions
authorNicholas Mc Guire <hofrat@osadl.org>
Wed, 11 Feb 2015 09:27:54 +0000 (04:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Feb 2015 03:37:43 +0000 (19:37 -0800)
commitbc2f3873f74414cdf095b337a73f96262e6aadbc
treee843ed92a363dcb78fa0e026482b531d13114ce2
parent777b3e930ac8eb1f8360b3e4f2aaf5e4abe5ed46
et131x: use msecs_to_jiffies for conversions

This is only an API consolidation and should make things more readable.
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 cleanup only.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/agere/et131x.c