diff options
author | Tom Rini <trini@konsulko.com> | 2020-09-30 09:07:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 09:07:06 -0400 |
commit | 527fad0b2484bf1dd4c443c4c8f4384aa256938f (patch) | |
tree | e50b2e3551ce9ac05713b1204e63faea793e94f7 /drivers/phy/phy-stm32-usbphyc.c | |
parent | 0ac83d080a0044cd0d8f782ba12f02cf969d3004 (diff) | |
parent | ceb70bb870ac0761992d3e38e9287a338e3b846a (diff) |
Merge branch '2020-09-29-dev_xxx-print-improvement' into next
- Improve our dev_xxx(..) wrappers to be generally used and available
rather than discarded at link/compile time.
Diffstat (limited to 'drivers/phy/phy-stm32-usbphyc.c')
-rw-r--r-- | drivers/phy/phy-stm32-usbphyc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c index c6d30486025..9d4296d6491 100644 --- a/drivers/phy/phy-stm32-usbphyc.c +++ b/drivers/phy/phy-stm32-usbphyc.c @@ -311,7 +311,7 @@ static int stm32_usbphyc_of_xlate(struct phy *phy, if ((phy->id == 0 && args->args_count != 1) || (phy->id == 1 && args->args_count != 2)) { - dev_err(dev, "invalid number of cells for phy port%ld\n", + dev_err(phy->dev, "invalid number of cells for phy port%ld\n", phy->id); return -EINVAL; } |