USB: fix error handling in trancevibrator
authorOliver Neukum <oliver@neukum.org>
Wed, 30 Jan 2008 15:06:03 +0000 (16:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:38:51 +0000 (15:38 -0800)
commit0cc5e2e7c3edd8b45775f50c74738d61b43ac5e8
treed6020d265c33d3a9753a11b629c8331ee79668ec
parentefa66f14e2d1aaad8ad7e1664d768de74ffb665b
USB: fix error handling in trancevibrator

trancevibrator should not pretend success if it returns an error.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/trancevibrator.c