greybus: connection: use the bundle struct device instead of the connector
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 16 Oct 2015 23:56:23 +0000 (16:56 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 19 Oct 2015 19:09:10 +0000 (12:09 -0700)
commit30482c1e63f3530f38f9364b90e35f1e9a990a4c
tree766999ed49522d78037a3fded8115247e0e7bb5b
parentb750fa3370485356b5cddda7c0f7fc9bea056fa8
greybus: connection: use the bundle struct device instead of the connector

We are removing struct device from the gb_connection structure in the
near future.  The gb_bundle structure's struct device should be used as
a replacement.

This patch moves the connection code to use the bundle pointer instead
of the connection pointer for some error messages.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/connection.c