[PATCH v2 22/33] i2c: stm32f7_i2c: migrate trace to dev and log macro

Heiko Schocher hs at denx.de
Tue Nov 10 14:33:09 CET 2020


Hello Patrick,

Am 06.11.2020 um 19:01 schrieb Patrick Delaunay:
> Change debug to dev_dbg macro and define LOG_CATEGORY.
> 
> Remove the "%s:" __func__  header as it is managed by dev macro
> (dev->name is displayed) or log macro (CONFIG_LOGF_FUNC).
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> Reviewed-by: Patrice Chotard <patrice.chotard at st.com>
> ---
> 
> (no changes since v1)
> 
>   drivers/i2c/stm32f7_i2c.c | 74 +++++++++++++++++++--------------------
>   1 file changed, 37 insertions(+), 37 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list