]> git.dujemihanovic.xyz Git - u-boot.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)
commit143d81dc8602198b567357160b8dd61edf1bfc48
tree812c686fa6543fc6212be150d0bff9a4ba38f7cf
parentef043693c6b8ffbf0d17caac5c99855cfaeaef3c
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