]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: ehci-orion: remove optional PHY handling code remnants
authorGabor Juhos <j4g8y7@gmail.com>
Sat, 21 Feb 2026 09:02:37 +0000 (10:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2026 13:59:42 +0000 (14:59 +0100)
commitbb24a1c09d7f848fb5a453b0ffc95a29b888907d
treeb6464d67ec32de98bdf02beca733155d7a03c705
parentdc3cf736a5cb63dea1158c267e168ca410d02fa4
usb: ehci-orion: remove optional PHY handling code remnants

Since the USB core code handles the generic USB PHYs automatically, the
optional PHY handling code has been removed from the 'ehci-orion' driver
entirely by commit e04585184dcf ("usb: ehci-orion: avoid double PHY
initialization"). However, the devm_phy_optional_get() call has been kept
so the driver still gets the PHY even though it is not used for anything
in the driver.

Drop the remaining code, and also remove the 'phy' member of the
'orion_ehci_hcd' structure to simplify the code.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://patch.msgid.link/20260221-ehci-orion-drop-phy-handling-v2-1-5e26aa73790b@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-orion.c