diff options
| -rw-r--r-- | drivers/usb/core/driver.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index b10463244413..c2aad6a4d49f 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c | |||
| @@ -1103,8 +1103,8 @@ int usb_resume_both(struct usb_device *udev) | |||
| 1103 | 1103 | ||
| 1104 | /** | 1104 | /** |
| 1105 | * usb_autosuspend_device - delayed autosuspend of a USB device and its interfaces | 1105 | * usb_autosuspend_device - delayed autosuspend of a USB device and its interfaces |
| 1106 | * @udev - the usb_device to autosuspend | 1106 | * @udev: the usb_device to autosuspend |
| 1107 | * @dec_usage_cnt - flag to decrement @udev's PM-usage counter | 1107 | * @dec_usage_cnt: flag to decrement @udev's PM-usage counter |
| 1108 | * | 1108 | * |
| 1109 | * This routine should be called when a core subsystem is finished using | 1109 | * This routine should be called when a core subsystem is finished using |
| 1110 | * @udev and wants to allow it to autosuspend. Examples would be when | 1110 | * @udev and wants to allow it to autosuspend. Examples would be when |
| @@ -1140,8 +1140,8 @@ void usb_autosuspend_device(struct usb_device *udev, int dec_usage_cnt) | |||
| 1140 | 1140 | ||
| 1141 | /** | 1141 | /** |
| 1142 | * usb_autoresume_device - immediately autoresume a USB device and its interfaces | 1142 | * usb_autoresume_device - immediately autoresume a USB device and its interfaces |
| 1143 | * @udev - the usb_device to autoresume | 1143 | * @udev: the usb_device to autoresume |
| 1144 | * @inc_usage_cnt - flag to increment @udev's PM-usage counter | 1144 | * @inc_usage_cnt: flag to increment @udev's PM-usage counter |
| 1145 | * | 1145 | * |
| 1146 | * This routine should be called when a core subsystem wants to use @udev | 1146 | * This routine should be called when a core subsystem wants to use @udev |
| 1147 | * and needs to guarantee that it is not suspended. In addition, the | 1147 | * and needs to guarantee that it is not suspended. In addition, the |
| @@ -1181,7 +1181,7 @@ int usb_autoresume_device(struct usb_device *udev, int inc_usage_cnt) | |||
| 1181 | 1181 | ||
| 1182 | /** | 1182 | /** |
| 1183 | * usb_autopm_put_interface - decrement a USB interface's PM-usage counter | 1183 | * usb_autopm_put_interface - decrement a USB interface's PM-usage counter |
| 1184 | * @intf - the usb_interface whose counter should be decremented | 1184 | * @intf: the usb_interface whose counter should be decremented |
| 1185 | * | 1185 | * |
| 1186 | * This routine should be called by an interface driver when it is | 1186 | * This routine should be called by an interface driver when it is |
| 1187 | * finished using @intf and wants to allow it to autosuspend. A typical | 1187 | * finished using @intf and wants to allow it to autosuspend. A typical |
| @@ -1228,7 +1228,7 @@ EXPORT_SYMBOL_GPL(usb_autopm_put_interface); | |||
| 1228 | 1228 | ||
| 1229 | /** | 1229 | /** |
| 1230 | * usb_autopm_get_interface - increment a USB interface's PM-usage counter | 1230 | * usb_autopm_get_interface - increment a USB interface's PM-usage counter |
| 1231 | * @intf - the usb_interface whose counter should be incremented | 1231 | * @intf: the usb_interface whose counter should be incremented |
| 1232 | * | 1232 | * |
| 1233 | * This routine should be called by an interface driver when it wants to | 1233 | * This routine should be called by an interface driver when it wants to |
| 1234 | * use @intf and needs to guarantee that it is not suspended. In addition, | 1234 | * use @intf and needs to guarantee that it is not suspended. In addition, |
