mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
5ccfdd8a83
The documentation for struct phy state that "The content of the
structure is managed solely by the PHY API and PHY drivers".
Change to use the generic_phy_valid() helper to check if phy is valid.
Also remove setting phy->dev to NULL now that generic_phy_get_by_name()
properly initialize phy->dev to NULL.
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
core.h | ||
dwc3-generic.c | ||
dwc3-generic.h | ||
dwc3-layerscape.c | ||
dwc3-meson-g12a.c | ||
dwc3-meson-gxl.c | ||
dwc3-omap.c | ||
dwc3-uniphier.c | ||
ep0.c | ||
gadget.c | ||
gadget.h | ||
io.h | ||
Kconfig | ||
linux-compat.h | ||
Makefile | ||
samsung_usb_phy.c | ||
ti_usb_phy.c |