greybus: connection: separate connection creation and enabling
authorJohan Hovold <johan@hovoldconsulting.com>
Mon, 7 Dec 2015 14:05:34 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 8 Dec 2015 20:31:14 +0000 (15:31 -0500)
commit0bf1f2441979e290945f4e5af40d76582c61da1e
tree9656af68832e9aa9594eac0acbbff2c64d5ae66a
parent36173112354a4f5993d464f95b04d41e1eec10a0
greybus: connection: separate connection creation and enabling

Separate connection creation from enabling.

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/connection.c
drivers/staging/greybus/connection.h
drivers/staging/greybus/hd.c
drivers/staging/greybus/interface.c
drivers/staging/greybus/manifest.c