staging: most: hdm-usb: use defined error codes
commitd5cfb0ff2e628ae07f7226e7cfe8684b7c186e0e
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 9 Sep 2016 13:25:36 +0000 (9 15:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 07:47:15 +0000 (12 09:47 +0200)
tree44523be1657b9d4b3b36e881082a4c2ec6f93b0e
parentc0554645a8c5a2fe6dd3dceb17a906f407e5bbf9
staging: most: hdm-usb: use defined error codes

This patch replaces return values with defined error codes to indicate
an exception.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c