greybus: Use BIT(2) for GREYBUS_ID_MATCH_CLASS

Bit 2 was left unused, use it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Viresh Kumar 2016-06-09 16:34:38 +05:30 committed by Greg Kroah-Hartman
parent 129a6fbe76
commit 8a285fed1a
1 changed files with 1 additions and 1 deletions

View File

@ -21,6 +21,6 @@ struct greybus_bundle_id {
/* Used to match the greybus_bundle_id */ /* Used to match the greybus_bundle_id */
#define GREYBUS_ID_MATCH_VENDOR BIT(0) #define GREYBUS_ID_MATCH_VENDOR BIT(0)
#define GREYBUS_ID_MATCH_PRODUCT BIT(1) #define GREYBUS_ID_MATCH_PRODUCT BIT(1)
#define GREYBUS_ID_MATCH_CLASS BIT(3) #define GREYBUS_ID_MATCH_CLASS BIT(2)
#endif /* __LINUX_GREYBUS_ID_H */ #endif /* __LINUX_GREYBUS_ID_H */