greybus: protocol: use the bundle struct device instead of the connector
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 16 Oct 2015 23:54:18 +0000 (16:54 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 19 Oct 2015 19:09:10 +0000 (12:09 -0700)
commit7e4c8d713539b608a11a38102a203a1a8acd345a
treee0b7c6cc43251d7ffeaeda7e997adbea71fecb42
parent5d9c68da01e80c145bfc5e28ccb27b17d3a016b3
greybus: protocol: 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 protocol code to use the bundle pointer instead of
the connection pointer when printing out 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/protocol.c