diff options
Diffstat (limited to 'drivers/usb/core/file.c')
-rw-r--r-- | drivers/usb/core/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/file.c b/drivers/usb/core/file.c index d95760de9e8..e673b26e598 100644 --- a/drivers/usb/core/file.c +++ b/drivers/usb/core/file.c | |||
@@ -183,7 +183,7 @@ int usb_register_dev(struct usb_interface *intf, | |||
183 | if (retval) | 183 | if (retval) |
184 | return retval; | 184 | return retval; |
185 | 185 | ||
186 | dev_dbg(&intf->dev, "looking for a minor, starting at %d", minor_base); | 186 | dev_dbg(&intf->dev, "looking for a minor, starting at %d\n", minor_base); |
187 | 187 | ||
188 | down_write(&minor_rwsem); | 188 | down_write(&minor_rwsem); |
189 | for (minor = minor_base; minor < MAX_USB_MINORS; ++minor) { | 189 | for (minor = minor_base; minor < MAX_USB_MINORS; ++minor) { |
@@ -239,7 +239,7 @@ void usb_deregister_dev(struct usb_interface *intf, | |||
239 | if (intf->minor == -1) | 239 | if (intf->minor == -1) |
240 | return; | 240 | return; |
241 | 241 | ||
242 | dbg ("removing %d minor", intf->minor); | 242 | dev_dbg(&intf->dev, "removing %d minor\n", intf->minor); |
243 | 243 | ||
244 | down_write(&minor_rwsem); | 244 | down_write(&minor_rwsem); |
245 | usb_minors[intf->minor] = NULL; | 245 | usb_minors[intf->minor] = NULL; |