diff options
| author | Christian Gromm <christian.gromm@microchip.com> | 2020-05-27 11:06:20 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-27 12:24:46 +0200 |
| commit | ffd069ec04238119f5d4884406b403c599b6eeec (patch) | |
| tree | 3d65561846f6a7227d185d4c5c6e101f2267ecff /drivers/fpga/fpga-mgr.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 <christian.gromm@microchip.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/1590570387-27069-4-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
