usb: phy: tegra: Remove unused functions
authorDr. David Alan Gilbert <linux@treblig.org>
Tue, 3 Jun 2025 20:39:05 +0000 (21:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 10:26:32 +0000 (12:26 +0200)
commitbc9a0c68f2583e42ace81a9c229c158b7cdcb45b
tree3224b26e276045d07e3d7e529d12dc7a39c7285a
parentb26fa800c53765ac2afd295e7652f584c794e21e
usb: phy: tegra: Remove unused functions

tegra_ehci_phy_restore_start() and tegra_ehci_phy_restore_end()
last use was removed in 2013 by
commit a4faa54e3aa2 ("USB: EHCI: tegra: remove all power management")

tegra_usb_phy_preresume() and tegra_usb_phy_postresume() last
use was removed in 2020 by
commit c3590c7656fb ("usb: host: ehci-tegra: Remove the driver")
(Although that one makes me wonder how much of the rest of the file
is actually used)

Remove both sets.

Signed-off-by: "Dr. David Alan Gilbert" <linux@treblig.org>
Link: https://lore.kernel.org/r/20250603203905.279307-1-linux@treblig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-tegra-usb.c
include/linux/usb/tegra_usb_phy.h