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)
commit65605ae8e587d714f73e674369bc4cd5a1e53a9b
tree823a14c8870352de6a9a99a82297ba794172143c
parent74573ee7096a4ffc2f098108d21c85801b9c7434
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