commit | 15b7336e02d998720c5ace47036f7e539365bb05 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Tue Jul 30 15:35:40 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 31 17:29:02 2013 -0700 |
tree | db90ccb73d4b50fdfab0c3a93144b9d803622c46 | |
parent | b977a3068a284b2ad4612cdb8ca326cbd2a7ffc9 [diff] |
USB: simplify the interface of usb_get_status() This patch simplifies the interface presented by usb_get_status(). Instead of forcing callers to check for the proper data length and convert the status value to host byte order, the function will now do these things itself. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>