Commit 351ff358 authored by Daniele Bellucci's avatar Daniele Bellucci Committed by Greg Kroah-Hartman

[PATCH] Audit and minor cleanups in drivers/usb/*

parent 378f84e5
......@@ -818,6 +818,7 @@ static struct usb_driver dabusb_driver = {
static int __init dabusb_init (void)
{
int retval;
unsigned u;
/* initialize struct */
......@@ -835,14 +836,16 @@ static int __init dabusb_init (void)
}
/* register misc device */
if (usb_register(&dabusb_driver))
return -1;
retval = usb_register(&dabusb_driver);
if (retval)
goto out;
dbg("dabusb_init: driver registered");
info(DRIVER_VERSION ":" DRIVER_DESC);
return 0;
out:
return retval;
}
static void __exit dabusb_cleanup (void)
......
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