diff options
author | Viresh Kumar | 2015-05-20 13:18:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-05-21 07:39:18 +0200 |
commit | 12eba9f8ef4e71eed17b08b89835c758c2a0c473 (patch) | |
tree | 9bbc4f46e9b458f303db6fd9a259a75b8a2a09a7 /drivers/staging/greybus/connection.c | |
parent | greybus: protocol: remove leading underscore from _gb_protocol_find() (diff) | |
download | kernel-qcow2-linux-12eba9f8ef4e71eed17b08b89835c758c2a0c473.tar.gz kernel-qcow2-linux-12eba9f8ef4e71eed17b08b89835c758c2a0c473.tar.xz kernel-qcow2-linux-12eba9f8ef4e71eed17b08b89835c758c2a0c473.zip |
greybus: connection: name routines consistently
Routines should be named this way: gb_<object>_<operation>. Fix all
routines that don't match this.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.c')
-rw-r--r-- | drivers/staging/greybus/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index 51d505e7017d..e87521ec526d 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -14,7 +14,7 @@ static DEFINE_SPINLOCK(gb_connections_lock); -struct gb_connection *gb_hd_connection_find(struct greybus_host_device *hd, +struct gb_connection *gb_connection_hd_find(struct greybus_host_device *hd, u16 cport_id) { struct gb_connection *connection = NULL; @@ -40,7 +40,7 @@ void greybus_data_rcvd(struct greybus_host_device *hd, u16 cport_id, { struct gb_connection *connection; - connection = gb_hd_connection_find(hd, cport_id); + connection = gb_connection_hd_find(hd, cport_id); if (!connection) { dev_err(hd->parent, "nonexistent connection (%zu bytes dropped)\n", length); |