]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: kill the last gbuf remnants
authorAlex Elder <elder@linaro.org>
Tue, 18 Nov 2014 19:26:51 +0000 (13:26 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Nov 2014 20:53:37 +0000 (12:53 -0800)
commite238e641ee79db947f1f1222204ae12258061d94
treed27fdf7fc61313de3ffa167b89266f585d9b6b08
parent61089e89e50ba10592670518c0f5611c33d64f39
greybus: kill the last gbuf remnants

All the code has now been adjusted such that we can do away with the
old gbuf structure.

Three unused references remained in "greybus.h", so those are deleted.

Other than that most of the changes were done by simple global
substitution.  The gb_message structure incorporates the fields that
were previously found its embedded gbuf structure.  A few names have
been changed in the process:
    gbuf->transfer_buffer       message->buffer
    gbuf->transfer_buffer_size  message->buffer_size
    gbuf->hcd_data;             message->cookie

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