phy: core: Warn when phy_power_on is called before phy_init
A warning when the order of phy operation is mixed up by drivers,
this is an atempt to make the phy usage more uniform across (usb)
drivers.
Signed-off-by: Jules Maselbas <[email protected]>
Cc: Ahmad Fatoum <[email protected]>
Cc: Amelie DELAUNAY <[email protected]>
Cc: Minas Harutyunyan <[email protected]>
Cc: Kishon Vijay Abraham I <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>