staging: unisys: use error codes
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 27 Mar 2015 09:56:10 +0000 (15:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:43:45 +0000 (13:43 +0200)
commit2e71c9e42799ad5a7ece815a14cd8467eaa3be26
tree913b152786ca92eeba75ecf397b9e6785dda51f6
parent6bdb610142fc0433077e24bb36f90e7c52bcaded
staging: unisys: use error codes

we were just returning -1 to the calling function which was again
returning that if the module failed to load. Now we are returning the
actual error codes.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/file.c