staging: most: aim-cdev: fix reported error codes
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 19 Aug 2016 11:09:33 +0000 (13:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 14:50:38 +0000 (16:50 +0200)
commit9b28e14818ad959516e99b7ba3d1fc2e5500ca51
treec783cedfb04db4a9c75cb84d9fa8e6e52156bdee
parent18c6e2d60263022ee82953de6a66d171db0377fd
staging: most: aim-cdev: fix reported error codes

Currently, the aim-cdev is returning different error codes for the same
root cause. This patch is needed to get rid of the module's inconsistency
when reporting errors.

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