From: Ming Lei Date: Tue, 17 Jun 2008 15:24:08 +0000 (+0800) Subject: USB: fix comment of usb_set_configuration X-Git-Tag: v2.6.27-rc1~946^2~31 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6d243e5c76b632a94d54cac2fe7fe8c0b41cd482;p=linux-2.6-omap-h63xx.git USB: fix comment of usb_set_configuration It is the usb interface driver probe() methods that can't call usb_set_configuration, not usb device driver. Signed-off-by: Ming Lei Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index 08af1083ebf..2fcc06eb5e6 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c @@ -1476,7 +1476,7 @@ static struct usb_interface_assoc_descriptor *find_iad(struct usb_device *dev, * * This call is synchronous. The calling context must be able to sleep, * must own the device lock, and must not hold the driver model's USB - * bus mutex; usb device driver probe() methods cannot use this routine. + * bus mutex; usb interface driver probe() methods cannot use this routine. * * Returns zero on success, or else the status code returned by the * underlying call that failed. On successful completion, each interface