spi: bcm53xx: use msecs_to_jiffies for conversion
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 8 Feb 2015 15:11:05 +0000 (10:11 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 11 Feb 2015 02:14:25 +0000 (10:14 +0800)
commitb3e7766bc459af941c311a3cb03f2082b2fe60ba
tree6fac9e3c33a7efd710239f4302874a86cf035aca
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735
spi: bcm53xx: use msecs_to_jiffies for 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 only an API consolidation and should make things more readable

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm53xx.c