diff options
author | Ming Lei <tom.leiming@gmail.com> | 2008-06-14 21:42:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:32 -0400 |
commit | 625f694936cbbdee98e6cc65f72724a7660e7946 (patch) | |
tree | a802abcee5ef4d1e24409a615af8c97843f639e5 /drivers/usb/core/devio.c | |
parent | 33578bd706e40eb877bd87bfc47e5da30034afde (diff) |
USB: remove interface parameter of usb_reset_composite_device
From the current implementation of usb_reset_composite_device
function, the iface parameter is no longer useful. This function
doesn't do something special for the iface usb_interface,compared
with other interfaces in the usb_device. So remove the parameter
and fix the related caller.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/devio.c')
-rw-r--r-- | drivers/usb/core/devio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 7bee9c18b3bc..bc1cce5cf758 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c | |||
@@ -872,7 +872,7 @@ static int proc_connectinfo(struct dev_state *ps, void __user *arg) | |||
872 | 872 | ||
873 | static int proc_resetdevice(struct dev_state *ps) | 873 | static int proc_resetdevice(struct dev_state *ps) |
874 | { | 874 | { |
875 | return usb_reset_composite_device(ps->dev, NULL); | 875 | return usb_reset_composite_device(ps->dev); |
876 | } | 876 | } |
877 | 877 | ||
878 | static int proc_setintf(struct dev_state *ps, void __user *arg) | 878 | static int proc_setintf(struct dev_state *ps, void __user *arg) |