staging: unisys: visorbus: add error handling for chipset_device_create
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:38 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:03 +0000 (09:17 +0200)
commit3f49a21deca8452cafbf4c01ee98cdb4f4966b51
tree63db27e8f05a9d81e9f262891890b004750776df
parent03156571160803875e9a9a0a966bcd2100a7ec2b
staging: unisys: visorbus: add error handling for chipset_device_create

Adds error handling to the chipset_device_create message. If it returns
a failure, it is assumed it has not signaled the s-Par firmware of the
failure and the caller must do that.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c