OSDN Git Service

staging: unisys: Fix clean up path
authorDon Zickus <dzickus@redhat.com>
Thu, 4 Jun 2015 13:22:48 +0000 (09:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:36:44 +0000 (13:36 -0700)
commit04dacacc14b4d60d58725c14f066a052cee6ff02
treed74841a68fd8ddf9f9dac78c2ec019b629732695
parent75439a17d4e82f630a86b4ca07a6d38ca6fbaa21
staging: unisys: Fix clean up path

When unloading a module, we need to cleanup the platform registration.
However, unregistering the platform uncovered a couple of quirks, namely
a missing device_release function.  Fix things up so module unload works
and allows us to reload the module.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorchipset.c