Commit 60df6f76 authored by Daniele Bellucci's avatar Daniele Bellucci Committed by Greg Kroah-Hartman

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

- if usb_register fails report back its return code rather than -1
parent 1456ba1d
......@@ -1578,9 +1578,7 @@ static int __init usb_se401_init(void)
info("Invallid flickerless value, use 0, 50 or 60.");
return -1;
}
if (usb_register(&se401_driver) < 0)
return -1;
return 0;
return usb_register(&se401_driver);
}
static void __exit usb_se401_exit(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