commit | 8b5081c876bde9b1df5e96ee6990d5acd20c128b | [log] [tgz] |
---|---|---|
author | Benjamin Romer <benjamin.romer@unisys.com> | Fri Sep 04 12:01:33 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Sep 13 09:43:41 2015 -0700 |
tree | ae7c9c82f6a0e7584f075ca345df40b4c9339c6f | |
parent | 6155a3cf11a6d4ed102ef5a30f655d4d2a38076b [diff] |
staging: unisys: visornic: handle error return from device registration There is no code to handle an error return in visornic, when it tries to register with visorbus. This patch handles an error return from visorbus_register_visor_driver() by dropping out of initialization. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>