greybus: start using struct gb_message
authorAlex Elder <elder@linaro.org>
Tue, 18 Nov 2014 00:08:32 +0000 (18:08 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Nov 2014 01:19:20 +0000 (17:19 -0800)
commitc7f82d5dc07181b56b9596adab3a3891ace357fd
treec00829b038b070868c88b8d2e747cd1d512449ab
parent3690a826fae5102ed5daed2340926885980d51ab
greybus: start using struct gb_message

This converts some of the operation code to start leveraging the
new gb_message type.  Instead of creating the request and response
gbufs, we initialize (and tear down with a new function) the
request and response message structures.

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