commit | fbd91616036d565054a09a2a6ba0dd5ce3c69ad3 | [log] [tgz] |
---|---|---|
author | Benjamin Romer <benjamin.romer@unisys.com> | Tue Feb 23 10:01:55 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 25 22:40:52 2016 -0800 |
tree | 350c0d45a8f7e48c0bff7c889b84cca5b22721eb | |
parent | 03b93f08f8d0579a8bac4d9ab7792893e983f213 [diff] |
staging: unisys: return meaningful error for visorchipset_init() The other error paths return meaningful error codes, except for the one when registering a device, which just returned -1. Let's return ENODEV when it fails to register instead. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>