staging: unisys: visorbus: my_device_changestate add error handling
authorDavid Kershner <david.kershner@unisys.com>
Thu, 22 Dec 2016 16:09:06 +0000 (11:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:19:06 +0000 (15:19 +0100)
commit40fc79f9b43718f13d71767368caa411641f42e6
treeb79ecbbb8f73715229abe405fc26f855edc4e230
parent300ed61251db466121a500bc85c720b7d709e6f5
staging: unisys: visorbus: my_device_changestate add error handling

The function my_device_changestate was not returning errors up the stack.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: David Binder <david.binder@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c