]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: rename struct greybus_device
authorAlex Elder <elder@linaro.org>
Tue, 23 Sep 2014 00:19:03 +0000 (19:19 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 23 Sep 2014 00:33:07 +0000 (17:33 -0700)
commit778c69c9e2fbb7462e5ebffe42845c9cdf75b1e2
treeae36ea3197bf129be9fb924574079b04b3ffee6a
parent69f93abf1181082c7a3dfa24b2ba4a2933ce2c1c
greybus: rename struct greybus_device

The greybus_device structure represents an Ara phone module.
It does *not* (necessarily) represent a UniPro device, nor any
device (like an i2c adapter) that might reside on an Ara module.

As such, rename struct greybus_device to be struct greybus_module.
Rename all symbols having that type to be "gmod" rather than "gdev".

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
12 files changed:
drivers/staging/greybus/battery-gb.c
drivers/staging/greybus/core.c
drivers/staging/greybus/es1-ap-usb.c
drivers/staging/greybus/gbuf.c
drivers/staging/greybus/gpio-gb.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/greybus_id.h
drivers/staging/greybus/i2c-gb.c
drivers/staging/greybus/sdio-gb.c
drivers/staging/greybus/sysfs.c
drivers/staging/greybus/test_sink.c
drivers/staging/greybus/uart-gb.c