staging: unisys: visorbus: check for err from dev_set_name
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:50 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:03 +0000 (09:17 +0200)
commite0d210ae5fddfdc9a657ea5a21de9d54f8315336
treec85220fab8e928d0251bcd38ba3173df7b97286a
parentf894c88a2448144db2fd4b6b2e6d0bc741d395b9
staging: unisys: visorbus: check for err from dev_set_name

The function dev_set_name can return an error, don't just ignore it.

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