summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/greybus_id.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-09-22 19:19:03 -0500
committerGreg Kroah-Hartman <greg@kroah.com>2014-09-22 17:33:07 -0700
commit778c69c9e2fbb7462e5ebffe42845c9cdf75b1e2 (patch)
treeae36ea3197bf129be9fb924574079b04b3ffee6a /drivers/staging/greybus/greybus_id.h
parent69f93abf1181082c7a3dfa24b2ba4a2933ce2c1c (diff)
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>
Diffstat (limited to 'drivers/staging/greybus/greybus_id.h')
-rw-r--r--drivers/staging/greybus/greybus_id.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/greybus_id.h b/drivers/staging/greybus/greybus_id.h
index 83c4d057cfb0..8b3bce6a9d0b 100644
--- a/drivers/staging/greybus/greybus_id.h
+++ b/drivers/staging/greybus/greybus_id.h
@@ -19,7 +19,7 @@ struct greybus_module_id {
__attribute__((aligned(sizeof(kernel_ulong_t))));
};
-/* Used to match the greybus_device_id */
+/* Used to match the greybus_module_id */
#define GREYBUS_DEVICE_ID_MATCH_VENDOR BIT(0)
#define GREYBUS_DEVICE_ID_MATCH_PRODUCT BIT(1)
#define GREYBUS_DEVICE_ID_MATCH_SERIAL BIT(2)