]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Add udev argument to interface suspend/resume functions
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 12 Aug 2008 18:33:27 +0000 (14:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Aug 2008 17:26:36 +0000 (10:26 -0700)
commitd67e8088405ea5751ae3fcff777e1d171756e8d0
tree823a14c8870352de6a9a99a82297ba794172143c
parent1b445e97be7a2c46a485a6f693df931db3bca449
USB: Add udev argument to interface suspend/resume functions

This patch (as1127) makes a minor change to the prototypes of the
usb_suspend_interface() and usb_resume_interface() routines.  Now the
usb_device structure is passed as an argument, instead of being
computed on-the-fly from the usb_interface argument.

It makes the code look simpler, even if it really isn't much different
from before.

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