Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: phy-rockchip-inno-usb2: improve error message

Printing the OF node is not useful, since we get the same information
from the device context. Instead print the reg address, that could
not be found.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230522170324.61349-8-sebastian.reichel@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Sebastian Reichel and committed by
Vinod Koul
b3a37993 89e1570a

+1 -2
+1 -2
drivers/phy/rockchip/phy-rockchip-inno-usb2.c
··· 1377 1377 } while (phy_cfgs[index].reg); 1378 1378 1379 1379 if (!rphy->phy_cfg) { 1380 - dev_err(dev, "no phy-config can be matched with %pOFn node\n", 1381 - np); 1380 + dev_err(dev, "could not find phy config for reg=0x%08x\n", reg); 1382 1381 return -EINVAL; 1383 1382 } 1384 1383