OSDN Git Service

usb: isp1760: use msecs_to_jiffies for time conversion
authorNicholas Mc Guire <hofrat@osadl.org>
Fri, 6 Feb 2015 10:08:53 +0000 (05:08 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 23 Feb 2015 15:18:20 +0000 (09:18 -0600)
commit4d3db7d78425c469d328d460e3b69dfb80dd309c
treee9f2876e09324434f6c744a34fb2ca5ca346fac8
parentbb90600d5cdd3a59053e0843f165e2ee49009c54
usb: isp1760: use msecs_to_jiffies for time conversion

This is only an API consolidation and should make things more readable
it replaces var * HZ / 1000 by msecs_to_jiffies(var).

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/isp1760/isp1760-hcd.c