aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/leds-wrap.c
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2009-04-29 16:02:18 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:44:44 -0700
commite05b8e6e1066e7583dbb6b00407508797b737995 (patch)
tree7e0a3445a7f7f3035202dfa666d30f759e28a932 /drivers/leds/leds-wrap.c
parentbf92c1906e4f294a48fafc15755c65af636195e0 (diff)
USB: janitor storage initializers
We all know that pointless janitoring is bad, but this code is just offensive. So: - The error code goes directly to probe return, so don't return -1. - Don't return return internal usb-storage codes either. - usb_stor_control_msg takes timeout in milliseconds. - Sanitize messages. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/leds/leds-wrap.c')
0 files changed, 0 insertions, 0 deletions