]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
greybus: bundle: kill gb_bundle_bind_protocols
authorJohan Hovold <johan@hovoldconsulting.com>
Mon, 7 Dec 2015 14:05:30 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 8 Dec 2015 20:31:14 +0000 (15:31 -0500)
commit2d54e4db4efd244181aa6a2f54f0ec362adc9d4d
treeef40d73f81dd3ba03db71fe4ed672ad4b5b8520d
parenta2cc7404e18cb75555b14831685a0b227135bc47
greybus: bundle: kill gb_bundle_bind_protocols

Remove gb_bundle_bind_protocols() that was used to iterate over all
registered bundles and bind protocols to them should a protocol become
available post bundle creation.

The protocol abstraction as a generic construct is going away in favour
of class drivers. Connections will be setup when a class driver is
probed, and driver modules can be loaded on-demand by user space based
on uevents and modalias.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/bundle.c
drivers/staging/greybus/bundle.h
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h
drivers/staging/greybus/protocol.c