summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-09-15 17:45:17 +0300
committerTom Rini <trini@konsulko.com>2020-09-30 15:53:58 +0300
commit44003f88a9be236dff8449f048bb25432f2d6bb2 (patch)
tree5bd2dc02ab3beaeb218641802c719bd6152adb26 /drivers/usb
parentdf5eabcbf797c6645dd097cfbc9a2b22a2ba79ff (diff)
downloadu-boot-44003f88a9be236dff8449f048bb25432f2d6bb2.tar.xz
usb: dwc3: ti: Fix not calling dev_err with a device
This driver does not use DM, so use log_xxx instead. Signed-off-by: Sean Anderson <seanga2@gmail.com> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/dwc3/ti_usb_phy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_usb_phy.c
index f8ab06482c..f476810763 100644
--- a/drivers/usb/dwc3/ti_usb_phy.c
+++ b/drivers/usb/dwc3/ti_usb_phy.c
@@ -129,7 +129,7 @@ static struct usb3_dpll_params *ti_usb3_get_dpll_params(struct ti_usb_phy *phy)
return &dpll_map->params;
}
- dev_err(phy->dev, "No DPLL configuration for %lu Hz SYS CLK\n", rate);
+ log_err("No DPLL configuration for %lu Hz SYS CLK\n", rate);
return NULL;
}
@@ -269,7 +269,7 @@ int ti_usb_phy_uboot_init(struct ti_usb_phy_device *dev)
phy = devm_kzalloc(NULL, sizeof(*phy), GFP_KERNEL);
if (!phy) {
- dev_err(NULL, "unable to alloc mem for TI USB3 PHY\n");
+ log_err("unable to alloc mem for TI USB3 PHY\n");
return -ENOMEM;
}