commit | 1d83e0380392f0594cf2203617e3c8609530e6d9 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Thu Oct 15 17:18:17 2020 +0200 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Dec 18 16:16:36 2020 +0530 |
tree | c6c3a3fef40b0fb70dd5e661b4a5747854d54f2a | |
parent | 1020ddec3222508b929679763bd508a2defbe5ee [diff] |
spi: migrate trace to dev and log macro in spi uclass Define LOG_CATEGORY and change printf and pr_* to dev_ (when dev is available) or log_ macro. This patch adds the support of logging feature with log command (filtering, display of device name in trace) and allows to suppress traces via the syslog driver. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>