USB: utilize round_jiffies_up_relative()
commit4ec06d629628b6e5c7ff50d349a26ef5c35696e3
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 25 Nov 2008 21:40:02 +0000 (25 16:40 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 18:00:03 +0000 (7 10:00 -0800)
tree7522699505b78d2886b3428c7170f2b0fd23a62b
parent3cb22d658668234edbe6dcb165501e9ef0c0a059
USB: utilize round_jiffies_up_relative()

This patch (as1178) uses the new round_jiffies_up_relative() routine
for setting the autosuspend delayed_work timer.  It's appropriate
since we don't care too much about the exact length of the delay, but
we don't want it to be too short (rounded down).

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c