diff options
| author | 2021-05-07 10:11:24 +0800 | |
|---|---|---|
| committer | 2021-05-10 16:21:48 +0200 | |
| commit | 40ddb76ba0baaa7d62ab563be56c5fa38ec649c7 (patch) | |
| tree | 2939fbf2328d6c16eb7a0135b35b4231407bf137 /tools/perf/scripts/python | |
| parent | usb: musb: Remove unused function argument dma, qh, offset, length (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
