]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: implement core module removal path
authorMatt Porter <mporter@linaro.org>
Fri, 3 Oct 2014 18:32:35 +0000 (14:32 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 3 Oct 2014 18:52:26 +0000 (11:52 -0700)
commitd7f9be4867e060712b6d9aaa1a8c98d15976c71d
treeaeac1a3c466da4a2021ba2e6e8ce826c568c754c
parent32dff13d21120cfbf6196347f7bc74e9236fce1e
greybus: implement core module removal path

Implement gb_remove_module() by finding the gb_module to
be removed via the supplied module_id. Add support for
removing the actual device into greybus_remove_device()
after all the subdevs are disconnected.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c