Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2021-05-07 05:11:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-10 17:21:48 +0300
commit40ddb76ba0baaa7d62ab563be56c5fa38ec649c7 (patch)
tree2939fbf2328d6c16eb7a0135b35b4231407bf137 /drivers/usb/host/xhci-mtk.c
parent3c5e0d0e9da1b6172eca9f38f67263789d938d25 (diff)
usb: xhci-mtk: use bitfield instead of bool
Use bitfield instead of bool in struct Refer to coding-style.rst 17) Using bool: "If a structure has many true/false values, consider consolidating them into a bitfield with 1 bit members, or using an appropriate fixed width type, such as u8." Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/20210507021127.54717-1-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-mtk.c')
0 files changed, 0 insertions, 0 deletions