diff options
author | Christian Gromm <[email protected]> | 2020-05-27 11:06:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-27 12:24:46 +0200 |
commit | ffd069ec04238119f5d4884406b403c599b6eeec (patch) | |
tree | 3d65561846f6a7227d185d4c5c6e101f2267ecff /drivers/fpga/fpga-bridge.c | |
parent | a0dbe1b24c9b66102243ba8b49783f960edc8663 (diff) |
staging: most: usb: change return value of function drci_rd_reg
This patch makes function drci_rd_reg return 0 in case of success
and a negative number else. As no caller is evaluating the number
of bytes transferred by function usb_control_msg this information is
being omitted.
Signed-off-by: Christian Gromm <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions