USB: simplify the interface of usb_get_status()
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 30 Jul 2013 19:35:40 +0000 (15:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:29:02 +0000 (17:29 -0700)
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>

No differences found