commit | bc091356ccbf2e08b2a8818efce043669f131e59 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Wed Nov 19 16:29:15 2014 -0600 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Wed Nov 19 16:45:29 2014 -0800 |
tree | 40b92019c2a9a6aa2558d51c39fb706326f83211 | |
parent | 0bbfe04cd945df79c52924284b2242508fef4e47 [diff] |
greybus: fix uart request_operation() This fixes a problem similar to what was found in the battery protcool driver code. There's no need to allocate a local buffer, that already set up by gb_operation_create(). Just use that instead. Change a few variable names to reflect that they hold response messages, not request messages. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>