Skip to content
Commit ceb70bb8 authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

dm: Print device name in dev_xxx like Linux



This adorns messages generated by dev_xxx with the device and driver
names. It also redirects dev_xxx to log when it is available. The names
of these functions very roughly take inspiration from Linux, but there is
no deeper correlation.

Both struct udevice and struct device are supported when logging, though
logging with struct device is no better than using log_xxx. The latter is
supported because of the large amount of existing code which logs with
struct device.

Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
Tested-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 4d14600b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment