]> git.baikalelectronics.ru Git - uboot.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)
commit65e27d10bdcfcd73d2423353604a2a446fe07224
tree48c14436fb415b4d90f8154fe8f11c3056fa555d
parent9f300fb343a85dc9b1429ec3db8776d549ea0407
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 b58877a3724f ("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