greybus: connection: refactor connection enable and disable
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 8 Jan 2016 19:13:46 +0000 (20:13 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 13 Jan 2016 02:17:58 +0000 (18:17 -0800)
commit3ea6a81568f5902ff59ada61b073d8d4a6df5fbf
tree8d417a71126d4a10cac11f565c46e06ad092fd10
parent4d0bee11253ba98c4a9c9ebb6df19c3185fe1fd8
greybus: connection: refactor connection enable and disable

Refactor connection enable and disable.

This is a step towards removing the legacy-protocol handling from core.

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