greybus: drop hd arg from submit_gbuf method
authorAlex Elder <elder@linaro.org>
Thu, 16 Oct 2014 11:35:29 +0000 (06:35 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 17 Oct 2014 16:13:15 +0000 (18:13 +0200)
commit61418b9fd9a4e38b5ba41f7c1703083a989dda09
treea396413b2dc0846ee7b73d6aa8d5c6a8753e9dc4
parenta7901d5ef7ff6bb6b7fdc500d9383450b23ba059
greybus: drop hd arg from submit_gbuf method

Every gbuf is associated with a connection when it is created.  And
a connection contains a pointer to the host device that will carry
messages.  So there's no need for the submit_gbuf() method to have
the host device pointer passed to it, the function can get it from
the gbuf's connection.

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