greybus: rework message initialization
authorAlex Elder <elder@linaro.org>
Tue, 18 Nov 2014 19:26:47 +0000 (13:26 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Nov 2014 20:50:34 +0000 (12:50 -0800)
commit6a70736aca05d4c8acd80f30bf485dd785ae1a2b
treea0aafeaaa32039e2e4489d34626367223a12af0e
parent58a5bdc7358ae87d2f7b8c85319f624651b7555b
greybus: rework message initialization

Rework gb_opreation_message_init() so it doesn't use a struct gbuf
local variable.

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