greybus: allocate space without gbufs
authorAlex Elder <elder@linaro.org>
Tue, 18 Nov 2014 19:26:42 +0000 (13:26 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Nov 2014 20:48:53 +0000 (12:48 -0800)
commitd2a259f213c925f404eb7491fae8fa03a56b3467
treef7784e51165a53375e41c33cb7dfebbf9c00d362
parent0f4c808a7ea2ee3d81f5c3047bd14d7057cbfe37
greybus: allocate space without gbufs

This begins the transition to buffer allocation that does not rely
on the gbuf construct.

The host driver allocation routine will return a pointer to the
buffer to be used, and the caller will be responsible for keeping
track of that pointer, as well as the requested buffer size.

Rename the allocation method to reflect it's no longer tied to a
gbuf.

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