diff options
author | Erik Arfvidson <erik.arfvidson@unisys.com> | 2016-05-13 23:17:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-07 22:58:16 -0700 |
commit | 119296eaa8a5dd8c3dbd5051202a06ae9a1d04fc (patch) | |
tree | 6adb814578ea71305dd555b6099983fabee86e23 /drivers/staging/unisys | |
parent | c294ea31aa785afe2144fc933fd59106506c1c53 (diff) | |
download | linux-119296eaa8a5dd8c3dbd5051202a06ae9a1d04fc.tar.bz2 |
staging: unisys: visorchipset change -1 return value
This patch changes the vague -1 return value to -EINVAL
Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorchipset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 5ba5936e2203..d248c946a13b 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -1613,7 +1613,7 @@ parahotplug_request_complete(int id, u16 active) } spin_unlock(¶hotplug_request_list_lock); - return -1; + return -EINVAL; } /* |