mbox series

[00/10] staging: most: usb: fix code review findings

Message ID 1590570387-27069-1-git-send-email-christian.gromm@microchip.com (mailing list archive)
Headers show
Series staging: most: usb: fix code review findings | expand

Message

Christian Gromm May 27, 2020, 9:06 a.m. UTC
This series fixes the comments received from the mailing list.

Christian Gromm (10):
  staging: most: usb: change order of function parameters
  staging: most: usb: don't use expressions that might fail in a
    declaration
  staging: most: usb: change return value of function drci_rd_reg
  staging: most: usb: return 0 instead of variable
  staging: most: usb: move allocation of URB out of critical section
  staging: most: usb: don't use error path to exit function on success
  staging: most: usb: replace code to calculate array index
  staging: most: usb: use correct error codes
  staging: most: usb: add missing put_device calls
  staging: most: usb: use function sysfs_streq

 drivers/staging/most/usb/usb.c | 83 ++++++++++++++++++++++++------------------
 1 file changed, 47 insertions(+), 36 deletions(-)