usb: ehci-omap: Drop dead code
authorAdam Ford <aford173@gmail.com>
Sat, 19 Feb 2022 23:08:41 +0000 (17:08 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 23 Feb 2022 04:25:17 +0000 (05:25 +0100)
commit0935dbf4c9d97574d04e6d2e1bda2abd7135c073
treeb98b7d88c2938242c86f391667ff983f548ad91b
parent17a0dc6abfdbf392f6a27074f2633608038c4221
usb: ehci-omap: Drop dead code

omap_ehci_hcd_stop appears to be dead code, and omap_ehci_hcd_init
is only called by the probe function, so it can be static to that
function.  Remove both from the header along with some additional
checking for DM_USB.

Signed-off-by: Adam Ford <aford173@gmail.com>
arch/arm/include/asm/ehci-omap.h
drivers/usb/host/ehci-omap.c