]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: get rid of functions now...
authorAlex Elder <elder@linaro.org>
Thu, 2 Oct 2014 17:30:05 +0000 (12:30 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 3 Oct 2014 04:22:45 +0000 (21:22 -0700)
commitcd345074bb7cb2c2bdd6bc3b042c38a74128ed6c
tree434e773fdd51e13e8283bd08760cd45ffa021304
parent9e8a6860f5d113b42334b27f12217ee9fb9970f9
greybus: get rid of functions now...

We decided yesterday that we would no longer support the notion of a
"function."  Instead, a connection will simply exist between the AP
and an interface on a module (and a CPort Id on each end).  What
was previously considered the "function type" will now be handled
as the "protocol" associated with the connection.

Update gb_connection_create() to take just the interface and a cport
id associated with that interface.

Right now every module points back to a host device, so for now
we'll establish the connection back to that.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h
drivers/staging/greybus/function.c [deleted file]
drivers/staging/greybus/function.h [deleted file]
drivers/staging/greybus/greybus.h
drivers/staging/greybus/manifest.c
drivers/staging/greybus/operation.c