summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/connection.c
diff options
context:
space:
mode:
authorAlex Elder2014-11-18 20:26:50 +0100
committerGreg Kroah-Hartman2014-11-18 21:50:34 +0100
commit61089e89e50ba10592670518c0f5611c33d64f39 (patch)
tree0a7a598cd5e159726b17550b629e05422a501e76 /drivers/staging/greybus/connection.c
parentgreybus: cancel messages, not gbufs (diff)
downloadkernel-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.c2
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);