OSDN Git Service

greybus: introduce gb_operation_message_init()
authorAlex Elder <elder@linaro.org>
Tue, 2 Dec 2014 14:30:33 +0000 (08:30 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 2 Dec 2014 22:39:42 +0000 (14:39 -0800)
commitdc779229b538f1b5cd5d20a5afdfdfb4c83e5429
treed282299ba3726c91f8675e4b41c1138eff8bf2bd
parentea64cd9a5e83605bdb6374b48d3aa84f0d08abde
greybus: introduce gb_operation_message_init()

Separate the allocation of a message structure from its basic
initialization.  This will allow very common fixed-size operation
response buffers to be allocated from a slab cache.

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