]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: eth-phy: use dev_dbg and log_notice
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 20 Jul 2021 18:09:52 +0000 (20:09 +0200)
committerRamon Fried <rfried.dev@gmail.com>
Thu, 22 Jul 2021 19:05:44 +0000 (22:05 +0300)
commit880ecb09b9d14ca3f3653e7ad8f92c1c8ca89690
tree48c14436fb415b4d90f8154fe8f11c3056fa555d
parentd33982d5bc442a0dc720962160019cad518d266e
net: eth-phy: use dev_dbg and log_notice

Replace debug trace and printf to log macros:
- debug() replaced by dev_dbg() when device is available, this macro
indicate the device name since commit ceb70bb870ac ("dm: Print device
name in dev_xxx like Linux")
- printf() replaced by log_notice() to allow  dispatch to log backends.

Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/net/eth-phy-uclass.c