greybus: legacy: refactor legacy-connection handling
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 21 Jan 2016 16:34:17 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 22 Jan 2016 06:46:38 +0000 (22:46 -0800)
commit431b3ebb3d9e0c25081006fc7a1f97621dca6192
treeedb6fc3419ba44c68aa9c16f0505a905646532cc
parent24e094d687a23878024589a854ce66a070b769cc
greybus: legacy: refactor legacy-connection handling

Add wrapper structure for legacy connections and add helpers to create
and destroy legacy connections.

This is a step in removing legacy connection fields from the core
structures.

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