]> git.baikalelectronics.ru Git - uboot.git/commit
net: ti: cpsw: Fix not calling dev_dbg with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:45:01 +0000 (10:45 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:53:26 +0000 (08:53 -0400)
commitbf539fae495be2e7d1cec58f65f21c17a5f89bbf
tree812c686fa6543fc6212be150d0bff9a4ba38f7cf
parent515eacfa1586ba7f718c034e30cd3e28882cac6c
net: ti: cpsw: Fix not calling dev_dbg with a device

Without DM_ETH, cpsw_priv.dev is an eth_device. Just use its name instead.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/net/ti/cpsw.c