Searched hist:"40 ddb76b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-mtk.h | 40ddb76b Thu May 06 21:11:24 CDT 2021 Chunfeng Yun <chunfeng.yun@mediatek.com> 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>
|