]> git.baikalelectronics.ru Git - uboot.git/commit
phy: rockchip: Fix not calling dev_err with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:45:03 +0000 (10:45 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:53:29 +0000 (08:53 -0400)
commitb5a03b2bffc83fabd87116e1076a5cd4c6c02972
treec6e2ae07be0d250fc1d133bdc47b526a00b883c9
parent7f170962075a43b3e0d45bd3b5c7380bf627209a
phy: rockchip: Fix not calling dev_err with a device

Get the device from phy, or pass the phy in.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/phy/rockchip/phy-rockchip-pcie.c
drivers/phy/rockchip/phy-rockchip-typec.c