mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 03:59:40 +02:00
staging: greybus: gb-camera: use BIT() macro for flags
Replace (1 << 0) with the BIT(0) macro for input/output flags to follow Linux kernel coding style. Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com> Link: https://patch.msgid.link/20251222152432.68555-2-zhanxusheng@xiaomi.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e6900ce28c
commit
81a4ecb9fa
|
|
@ -10,9 +10,9 @@
|
|||
#include <linux/v4l2-mediabus.h>
|
||||
|
||||
/* Input flags need to be set from the caller */
|
||||
#define GB_CAMERA_IN_FLAG_TEST (1 << 0)
|
||||
#define GB_CAMERA_IN_FLAG_TEST BIT(0)
|
||||
/* Output flags returned */
|
||||
#define GB_CAMERA_OUT_FLAG_ADJUSTED (1 << 0)
|
||||
#define GB_CAMERA_OUT_FLAG_ADJUSTED BIT(0)
|
||||
|
||||
/**
|
||||
* struct gb_camera_stream - Represents greybus camera stream.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user