diff options
author | Alex Elder | 2014-11-18 20:26:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-11-18 21:50:34 +0100 |
commit | 61089e89e50ba10592670518c0f5611c33d64f39 (patch) | |
tree | 0a7a598cd5e159726b17550b629e05422a501e76 /drivers/staging/greybus/connection.c | |
parent | greybus: cancel messages, not gbufs (diff) | |
download | kernel-qcow2-linux-61089e89e50ba10592670518c0f5611c33d64f39.tar.gz kernel-qcow2-linux-61089e89e50ba10592670518c0f5611c33d64f39.tar.xz kernel-qcow2-linux-61089e89e50ba10592670518c0f5611c33d64f39.zip |
greybus: rework receve handling
Rework gb_connection_operation_recv() to be more oriented toward an
operation message, and to no longer use a struct gbuf local variable.
Rename it to be a little more wieldy.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/connection.c')
-rw-r--r-- | drivers/staging/greybus/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index 258d96cdba67..584f49164261 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -40,7 +40,7 @@ void greybus_cport_in(struct greybus_host_device *hd, u16 cport_id, "nonexistent connection (%zu bytes dropped)\n", length); return; } - gb_connection_operation_recv(connection, data, length); + gb_connection_recv(connection, data, length); } EXPORT_SYMBOL_GPL(greybus_cport_in); |