diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-14 17:37:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-16 11:02:35 +0200 |
commit | 297e84c04d76b9fdbac463e6378f5db7e9283ecd (patch) | |
tree | 755d9d9b40955db02143b6cdbc94407f3c78d668 /drivers/usb/core/hub.c | |
parent | 719b8f2850d3d9b863cc5e4f08e9ef0206e45b26 (diff) |
USB: core: message.c: use usb_control_msg_send() in a few places
There are a few calls to usb_control_msg() that can be converted to use
usb_control_msg_send() instead, so do that in order to make the error
checking a bit simpler.
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200914153756.3412156-4-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/hub.c')
0 files changed, 0 insertions, 0 deletions