greybus: record the host device in a gbuf
authorAlex Elder <elder@linaro.org>
Mon, 17 Nov 2014 14:08:43 +0000 (08:08 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 17 Nov 2014 18:41:19 +0000 (10:41 -0800)
commitba99346828089d3833a5c31106b60b3a8cddb91d
treed7e98859257ae5a6db3ee267537f9ca10729cc32
parent6af29086bfbe201723a82b732ba5b12ecb2dfc53
greybus: record the host device in a gbuf

The only thing we now use the gbuf->operation pointer for is
to get access to its connection's host device.

Record the host device pointer directly in the gbuf, rather
than keeping a pointer to the operation.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1-ap-usb.c
drivers/staging/greybus/gbuf.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/operation.c