diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-05-20 16:48:00 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-20 22:39:18 -0700 |
commit | 12eba9f8ef4e71eed17b08b89835c758c2a0c473 (patch) | |
tree | 9bbc4f46e9b458f303db6fd9a259a75b8a2a09a7 /drivers/staging/greybus/connection.c | |
parent | 8fd46587dbc478168d799fb12828801250086ced (diff) | |
download | linux-stable-12eba9f8ef4e71eed17b08b89835c758c2a0c473.tar.gz linux-stable-12eba9f8ef4e71eed17b08b89835c758c2a0c473.tar.bz2 linux-stable-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); |