"Das U-Boot" Source Tree

usb: ulpi: kconfig: Remove meaningless choice default

'default' on a choice refers to the symbol selected by default, not to
the choice mode, so 'default n' is meaningless.

No functional changes. Optional choices implicitly default to n mode
(and there is no way to make them default to another mode).

Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib),
which prints the following warning:

warning: the default selection n (undefined) of <choice> (defined at drivers/usb/ulpi/Kconfig:3) is not contained in the choice

I've added a corresponding warning to the C tools too, which is
currently in linux-next: https://patchwork.kernel.org/patch/9983667/

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>

authored by

Ulf Magnusson and committed by
Tom Rini
a43aebee c631e150

-1
-1
drivers/usb/ulpi/Kconfig
··· 3 3 choice 4 4 prompt "ULPI Viewport type" 5 5 optional 6 - default n 7 6 help 8 7 Select ULPI viewport (SoC-side interface to ULPI) implementation 9 8 appropriate for the device if you want to communicate with