[PATCH 0/3] Kconfig symbol clean-up on usb

From: Lukas Bulwahn
Date: Wed Aug 18 2021 - 03:11:56 EST

Dear Greg,

The script ./scripts/checkkconfigsymbols.py warns on invalid references to
Kconfig symbols (often, minor typos, name confusions or outdated references).

This patch series addresses all issues reported by ./scripts/checkkconfigsymbols.py
in ./drivers/usb/ for Kconfig and Makefile files. Issues in the Kconfig and
Makefile files indicate some shortcomings in the overall build definitions, and
often are true actionable issues to address.

These issues can be identified and filtered by:

./scripts/checkkconfigsymbols.py | grep -E "drivers/usb/.*(Kconfig|Makefile)" -B 1 -A 1

After applying this patch series on linux-next (next-20210816), the command
above yields just one further issues to address:

Referencing files: drivers/usb/dwc3/Kconfig

For this remaining issue, I already contacted Manish Narani, the contributor of
./drivers/usb/dwc3/, to clarify the intent of that config dependency.

Please pick this patch series into your usb-next tree.

Best regards,


Lukas Bulwahn (3):
usb: host: remove dead EHCI support for on-chip PMC MSP71xx USB
usb: host: remove line for obsolete config USB_HWA_HCD
usb: remove reference to deleted config STB03xxx

drivers/usb/Kconfig | 2 +-
drivers/usb/Makefile | 1 -
drivers/usb/host/Kconfig | 9 -
drivers/usb/host/ehci-hcd.c | 5 -
drivers/usb/host/ehci-pmcmsp.c | 328 ---------------------------------
5 files changed, 1 insertion(+), 344 deletions(-)
delete mode 100644 drivers/usb/host/ehci-pmcmsp.c