greybus: connection: clean up init error paths
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 17 Sep 2015 11:17:22 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 17 Sep 2015 21:33:07 +0000 (14:33 -0700)
commit8d7a712ca86b4da7220b8c3da37f118fed3e0bb2
treeaaa5dd8502f033112e3939aaa969e69005646a94
parenta95c258c6fe6b4929f52398d1b6cd5432efe2c86
greybus: connection: clean up init error paths

Clearly mark error-path labels as such and clean up control flow.

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