summaryrefslogtreecommitdiff
path: root/drivers/gpio/stm32_gpio.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-09-15 10:45:22 -0400
committerTom Rini <trini@konsulko.com>2020-09-30 08:54:07 -0400
commitceb70bb870ac0761992d3e38e9287a338e3b846a (patch)
treee50b2e3551ce9ac05713b1204e63faea793e94f7 /drivers/gpio/stm32_gpio.c
parent4d14600bf6b80676278594890e50222d5ad3e7ba (diff)
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: Sean Anderson <seanga2@gmail.com> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/gpio/stm32_gpio.c')
0 files changed, 0 insertions, 0 deletions