OSDN Git Service

greybus: spi: use the bundle struct device instead of the connector
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 14 Oct 2015 18:15:38 +0000 (11:15 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 15 Oct 2015 16:19:15 +0000 (09:19 -0700)
commit1cb9e38c8c17b16b2712aaf2ca4d3509f0fe9366
treeaf791f6cb9e70da50a2a7546ee98d031658026b9
parent4f30bf3aef416ce6870a6da68e42957aeb4edb76
greybus: spi: 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 spi driver to use the bundle pointer instead of the
connection pointer.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/spi.c