ChangeSet 1.1595.8.3, 2003/07/29 22:22:50-07:00, [EMAIL PROTECTED]

[PATCH] USB: Audit usb_register() in drivers/usb/input/wacom.c


 drivers/usb/input/wacom.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


diff -Nru a/drivers/usb/input/wacom.c b/drivers/usb/input/wacom.c
--- a/drivers/usb/input/wacom.c Fri Aug  1 10:56:38 2003
+++ b/drivers/usb/input/wacom.c Fri Aug  1 10:56:38 2003
@@ -629,9 +629,10 @@
 
 static int __init wacom_init(void)
 {
-       usb_register(&wacom_driver);
-       info(DRIVER_VERSION ":" DRIVER_DESC);
-       return 0;
+       int result = usb_register(&wacom_driver);
+       if (result == 0)
+               info(DRIVER_VERSION ":" DRIVER_DESC);
+       return result;
 }
 
 static void __exit wacom_exit(void)



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to