greybus: fix bundle-id match macros
authorJohan Hovold <johan@hovoldconsulting.com>
Sat, 21 Nov 2015 09:51:59 +0000 (10:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 22 Nov 2015 01:15:35 +0000 (17:15 -0800)
The matching flags were renamed over a year ago but the so far unused
id-macros were never updated.

Also rename the GREYBUS_ID_MATCH_DEVICE mask to use the common
GREYBUS_ID_MATCH-prefix.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus.h

index 1b6f56f9e506d4939c9f5a26a3cc7981adcb2bcf..4a6b235284906a772d2325fba2e974fe555f6212 100644 (file)
 #define GREYBUS_VERSION_MAJOR  0x00
 #define GREYBUS_VERSION_MINOR  0x01
 
-#define GREYBUS_DEVICE_ID_MATCH_DEVICE \
-       (GREYBUS_DEVICE_ID_MATCH_VENDOR | GREYBUS_DEVICE_ID_MATCH_PRODUCT)
+#define GREYBUS_ID_MATCH_DEVICE \
+       (GREYBUS_ID_MATCH_VENDOR | GREYBUS_ID_MATCH_PRODUCT)
 
 #define GREYBUS_DEVICE(v, p)                                   \
-       .match_flags    = GREYBUS_DEVICE_ID_MATCH_DEVICE,       \
+       .match_flags    = GREYBUS_ID_MATCH_DEVICE,              \
        .vendor         = (v),                                  \
        .product        = (p),
 
 #define GREYBUS_DEVICE_SERIAL(s)                               \
-       .match_flags    = GREYBUS_DEVICE_ID_MATCH_SERIAL,       \
+       .match_flags    = GREYBUS_ID_MATCH_SERIAL,              \
        .serial_number  = (s),
 
 /* Maximum number of CPorts */