greybus: connection: add control-connected helper
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 17 Sep 2015 11:17:24 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 17 Sep 2015 21:33:47 +0000 (14:33 -0700)
commit9d7fc25b3c05a3330002560c19f0dfbfe83ea8a0
treec4c77d3aefe142d558d06d24e1a66b9e46768f83
parent72d748226379979e4a2e3e1ebf5379fa57f6f3fe
greybus: connection: add control-connected helper

Add control-connected helper to improve readability.

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