greybus: some more renames
authorAlex Elder <elder@linaro.org>
Wed, 24 Sep 2014 10:16:14 +0000 (05:16 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 30 Sep 2014 01:00:55 +0000 (18:00 -0700)
commit0db32a6d5e58d85cfa4ffe5cebbde60917f61bba
treeb3abd0ac60c6a179ff0ddb25f10b4d35febaa7a2
parent877b1ee82e4eb5d0fa56ff5eef310c75556c8762
greybus: some more renames

This patch renames of symbols, for better clarity and consistency.

    cport -> cport_id (when it represents a cport *number*)
    send_svc_msg -> submit_svc (like submit_gbuf)
    greybus_cport_in_data -> greybus_cport_in
    gb_new_ap_msg -> greybus_svc_in (like greybus_cport_in)
    cport->number -> cport->id (like cport_id)

Making the svc and cport message stuff more similar is done with an
eye toward having SVC messages and messages exchanged with other
modules use some more common communication mechanisms.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/ap.c
drivers/staging/greybus/core.c
drivers/staging/greybus/es1-ap-usb.c
drivers/staging/greybus/gbuf.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/greybus_manifest.h
drivers/staging/greybus/test_sink.c
drivers/staging/greybus/uart-gb.c