Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Viresh Kumar and committed by
Greg Kroah-Hartman
8a285fed 129a6fbe

+1 -1
+1 -1
drivers/staging/greybus/greybus_id.h
··· 21 21 /* Used to match the greybus_bundle_id */ 22 22 #define GREYBUS_ID_MATCH_VENDOR BIT(0) 23 23 #define GREYBUS_ID_MATCH_PRODUCT BIT(1) 24 - #define GREYBUS_ID_MATCH_CLASS BIT(3) 24 + #define GREYBUS_ID_MATCH_CLASS BIT(2) 25 25 26 26 #endif /* __LINUX_GREYBUS_ID_H */