greybus: connection: Don't free resources freed by gb_connection_release()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 13 Aug 2015 05:10:28 +0000 (10:40 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 14 Aug 2015 02:19:31 +0000 (19:19 -0700)
commit435ea76218c9f3257990c6da8b37bf7708598f49
tree22207a16608012442635558fadfc070d2a4211fe
parent22322c474551c208625d3b95ffba39b1882fa645
greybus: connection: Don't free resources freed by gb_connection_release()

We are already doing put_device() here and so don't need to free
resources directly, except ida.

Fixes: afde17fe0b61 ("greybus/connection: fix jump label on device_add failure")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c