greybus: connection: unconditionally enable connections
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 25 Nov 2015 14:59:24 +0000 (15:59 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 25 Nov 2015 23:39:16 +0000 (15:39 -0800)
commite1442f6910da337a879e44f32909844986714a4b
tree7e95d54794d263dcefd2f2c7f06f0164eac364c9
parent7fa530ad1b2d160ec9e76b3b5a1ac2e302e8f3bf
greybus: connection: unconditionally enable connections

Remove conditional enabling of connections when binding protocols that
served no purpose as a connection either has no bundle or it has an
interface with a valid device id.

Also remove the now unused GB_PROTOCOL_NO_BUNDLE protocol flag.

This is an intermediate step in moving the protocol binding to
connection_init, but is also needed as the control bundle is going away.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/protocol.h
drivers/staging/greybus/svc.c