staging: rts5208: use msecs_to_jiffies for timeouts
authorNicholas Mc Guire <der.herr@hofr.at>
Fri, 23 Jan 2015 07:15:53 +0000 (08:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:19 +0000 (19:59 +0800)
commit9df56d9bdeeae16af53487d1d4e8d78cd36948bc
tree76d886d5eee4ac5ee50a7de213d79333c04af930
parenta78d131265661bcc6a022b0d0cc4904a58abd362
staging: rts5208: use msecs_to_jiffies for timeouts

This is only an API consolidation and should make things more readable

Converting milliseconds to jiffies by val * HZ / 1000 is technically
not wrong but msecs_to_jiffies(val) is the cleaner solution and handles
corner cases correctly.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_transport.c