commit | 60678b60d78cd268a3aed3044dfbbb85760b2c54 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Sun Dec 19 21:54:48 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sat Jan 22 19:35:38 2011 -0800 |
tree | 878df8903a37092318d0a1987c98a538c16fb044 | |
parent | 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 [diff] |
USB: add helper to convert USB error codes This converts error codes specific to USB to generic error codes that can be returned to user space. Tests showed that it is so small that it is better inlined. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>