staging: tegravde: replace bit assignment with macro
authorIoannis Valasakis <code@wizofe.uk>
Tue, 6 Nov 2018 12:45:42 +0000 (12:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:22:33 +0000 (12:22 +0100)
Replace the bit assignment with the preferred BIT macro. Reported by
checkpatch.

Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/tegra-vde/uapi.h

index a50c7bcae057ca4a12dfd565f24f7bc404266bdd..4bce08a7a54c51c4d4e9721c1fe4ce43f60bbd69 100644 (file)
@@ -13,8 +13,8 @@
 #include <linux/types.h>
 #include <asm/ioctl.h>
 
-#define FLAG_B_FRAME           (1 << 0)
-#define FLAG_REFERENCE         (1 << 1)
+#define FLAG_B_FRAME           BIT(0)
+#define FLAG_REFERENCE         BIT(1)
 
 struct tegra_vde_h264_frame {
        __s32 y_fd;