]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: my_device_create add error handling
authorDavid Kershner <david.kershner@unisys.com>
Thu, 22 Dec 2016 16:09:04 +0000 (11:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:19:06 +0000 (15:19 +0100)
commit53149128e6f448e410a999c4a41291f3c9de022a
treed7fbb31a6d637111f7525a11c996e3e2be75511f
parent338b3bcf1c7d1e650c89419eeed4682f0a4f88fd
staging: unisys: visorbus: my_device_create add error handling

Add proper error handling to the function my_device_create and
propagate the error message 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