Commit 4aedc245 authored by Daniele Bellucci's avatar Daniele Bellucci Committed by Greg Kroah-Hartman

[PATCH] USB: Audit usb_register in drivers/usb/class/audio.c

parent 3a2b9514
...@@ -3872,9 +3872,10 @@ static void usb_audio_disconnect(struct usb_interface *intf) ...@@ -3872,9 +3872,10 @@ static void usb_audio_disconnect(struct usb_interface *intf)
static int __init usb_audio_init(void) static int __init usb_audio_init(void)
{ {
usb_register(&usb_audio_driver); int result = usb_register(&usb_audio_driver);
if (result == 0)
info(DRIVER_VERSION ":" DRIVER_DESC); info(DRIVER_VERSION ":" DRIVER_DESC);
return 0; return result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment