diff options
author | Chunfeng Yun | 2021-05-07 10:11:24 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2021-05-10 16:21:48 +0200 |
commit | 40ddb76ba0baaa7d62ab563be56c5fa38ec649c7 (patch) | |
tree | 2939fbf2328d6c16eb7a0135b35b4231407bf137 /lib/Kconfig.debug | |
parent | 3c5e0d0e9da1b6172eca9f38f67263789d938d25 (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 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions