greybus: bundle: separate bundle creation and registration
authorJohan Hovold <johan@hovoldconsulting.com>
Mon, 7 Dec 2015 14:05:43 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 8 Dec 2015 20:56:38 +0000 (15:56 -0500)
commita7e36d0eac7fe9d8c66547ac4ec660b026ca4691
tree29711b15c480e8aa73586198ca5789872d2c07ec
parentbdc37354aa933d299c959144487eba777e707b63
greybus: bundle: separate bundle creation and registration

Separate bundle creation and registration.

Note that the bundle connections still needs to be initialised post
registration as protocol drivers create child devices to the bundle.

This will ultimately allow connection structures to be created while
parsing manifests, but the connections to not be enabled until a driver
is bound.

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/manifest.c