From: Vignesh Raghavendra Date: Fri, 21 Jan 2022 07:17:51 +0000 (+0530) Subject: net: ti: am65-cpsw-nuss: Fix err msg for port bind failures X-Git-Tag: v2025.01-rc5-pxa1908~1560^2~6 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=5022a2ef1b29b8bdabe5354b52e8d13ec857a0aa;p=u-boot.git net: ti: am65-cpsw-nuss: Fix err msg for port bind failures Replace error case print with meaning full message. Signed-off-by: Vignesh Raghavendra --- diff --git a/drivers/net/ti/am65-cpsw-nuss.c b/drivers/net/ti/am65-cpsw-nuss.c index 6ae69b51c7..454986ff15 100644 --- a/drivers/net/ti/am65-cpsw-nuss.c +++ b/drivers/net/ti/am65-cpsw-nuss.c @@ -752,7 +752,7 @@ static int am65_cpsw_probe_nuss(struct udevice *dev) ret = device_bind_driver_to_node(dev, "am65_cpsw_nuss_port", ofnode_get_name(node), node, &port_dev); if (ret) - printf("SCREEEM\n"); + dev_err(dev, "Failed to bind to %s node\n", ofnode_get_name(node)); } for (i = 0; i < AM65_CPSW_CPSWNU_MAX_PORTS; i++) {