greybus: module: fix double free of module

Also properly clean up all modules when you remove a host driver

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2014-10-22 16:38:07 +08:00
commit 63e4a8ee8f
2 changed files with 15 additions and 6 deletions