]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: greybus: gb-camera: use BIT() macro for flags
authorZhan Xusheng <zhanxusheng1024@gmail.com>
Mon, 22 Dec 2025 15:24:30 +0000 (23:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 12:50:20 +0000 (13:50 +0100)
commit81a4ecb9faabe843f4152e2ff209daa52dda88c8
tree6adb10d8ba69f55ef484a71d013084278582cab7
parente6900ce28cd312f8872ed3794b3e5e12fe911ecd
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>
drivers/staging/greybus/gb-camera.h