staging: unisys: visorbus: add checks for probe, remove, pause and resume in visorbus...
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Mon, 17 Jul 2017 20:16:59 +0000 (16:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jul 2017 06:48:41 +0000 (08:48 +0200)
commitc2d00b218e114d656146f00c97236df96929b3c3
tree5eabf8c5e207592d2b97168d3616db7b22a45a90
parenta3276bf32ac863714a89bf0f2365e057dccc89c4
staging: unisys: visorbus: add checks for probe, remove, pause and resume in visorbus_register_visor_driver

Added checks for functions probe, remove, pause and resume in
visorbus_register_visor_driver() and removed these checks from
the individual functions itself.

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
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/visorbus_main.c