Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: use "prompt" instead of "bool" for choice prompts

Since commit fde192511bdb ("kconfig: remove tristate choice support"),
all choice blocks are now boolean. There is no longer a need to specify
the choice type explicitly.

Most choice blocks already use "prompt". Before the next commit removes
support for the "bool" syntax in choice entries, this commit converts
the remaining "bool" occurences under drivers/usb/.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+5 -5
+1 -1
drivers/usb/dwc2/Kconfig
··· 21 21 if USB_DWC2 22 22 23 23 choice 24 - bool "DWC2 Mode Selection" 24 + prompt "DWC2 Mode Selection" 25 25 default USB_DWC2_DUAL_ROLE if (USB && USB_GADGET) 26 26 default USB_DWC2_HOST if (USB && !USB_GADGET) 27 27 default USB_DWC2_PERIPHERAL if (!USB && USB_GADGET)
+1 -1
drivers/usb/dwc3/Kconfig
··· 23 23 controller. 24 24 25 25 choice 26 - bool "DWC3 Mode Selection" 26 + prompt "DWC3 Mode Selection" 27 27 default USB_DWC3_DUAL_ROLE if (USB && USB_GADGET) 28 28 default USB_DWC3_HOST if (USB && !USB_GADGET) 29 29 default USB_DWC3_GADGET if (!USB && USB_GADGET)
+1 -1
drivers/usb/isp1760/Kconfig
··· 26 26 if USB_ISP1760 27 27 28 28 choice 29 - bool "ISP1760 Mode Selection" 29 + prompt "ISP1760 Mode Selection" 30 30 default USB_ISP1760_DUAL_ROLE if (USB && USB_GADGET) 31 31 default USB_ISP1760_HOST_ROLE if (USB && !USB_GADGET) 32 32 default USB_ISP1760_GADGET_ROLE if (!USB && USB_GADGET)
+1 -1
drivers/usb/mtu3/Kconfig
··· 21 21 22 22 if USB_MTU3 23 23 choice 24 - bool "MTU3 Mode Selection" 24 + prompt "MTU3 Mode Selection" 25 25 default USB_MTU3_DUAL_ROLE if (USB && USB_GADGET) 26 26 default USB_MTU3_HOST if (USB && !USB_GADGET) 27 27 default USB_MTU3_GADGET if (!USB && USB_GADGET)
+1 -1
drivers/usb/musb/Kconfig
··· 29 29 if USB_MUSB_HDRC 30 30 31 31 choice 32 - bool "MUSB Mode Selection" 32 + prompt "MUSB Mode Selection" 33 33 default USB_MUSB_DUAL_ROLE if (USB && USB_GADGET) 34 34 default USB_MUSB_HOST if (USB && !USB_GADGET) 35 35 default USB_MUSB_GADGET if (!USB && USB_GADGET)