commit | 10aa801d331609c38a58e0c4e73fd31103ffa230 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <greg@kroah.com> | Mon Nov 24 11:19:13 2014 -0800 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Mon Nov 24 12:56:51 2014 -0800 |
tree | a7663850a4645e2e74ccda07820a8bfc0cac80e2 | |
parent | 10c69399043351e5c68f07bedd14fe2fdbf32cb4 [diff] |
greybus: operation: create gb_operation_sync for sending "simple" messages Everyone keeps doing the same create/send/destroy logic all over the place, so abstract that out to a simple function that can handle any arbritrary request and/or response. This will let us save lots of duplicated logic in the protocol drivers. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Reviewed-by: Alex Elder <elder@linaro.org>