greybus: connection: clean up creation error paths
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 23 Jul 2015 08:50:01 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 23 Jul 2015 19:55:25 +0000 (12:55 -0700)
commit10f9fa133a295fa0f2f36c1a481b7e8b82b12891
tree2ab822e8ef27fc955ad12de03e0189cb9c93d306
parent7c63a827d088363d89883a3b24af9bd2a6926924
greybus: connection: clean up creation error paths

Clean up connection-creation error paths.

Tested-by: Rui Miguel Silva <rui.silva@linaro.org>
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