greybus: connection: add helper to create control connections
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 21 Jan 2016 16:34:12 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 22 Jan 2016 06:45:09 +0000 (22:45 -0800)
commit59507e2612379356d93de0bd1d6e0f9a36dca0da
tree42d5f6491f2aefba379008ed686e71370f1abd2b
parentbafe3f67908c68a0b1fdc527c79cd7d9106abd85
greybus: connection: add helper to create control connections

Add dedicated helper to create control connections.

This will allow us to simplify the generic (dynamic) interface.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
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/connection.h
drivers/staging/greybus/control.c