[U-Boot] [PATCH 08/20] i2c: uniphier: replace debug() with dev_dbg()

Heiko Schocher hs at denx.de
Mon Oct 16 06:23:20 UTC 2017


Hello Masahiro,

Am 13.10.2017 um 12:21 schrieb Masahiro Yamada:
> Use dev_dbg() functions.  It will be helpful to prefix log messages
> with the corresponding device name when the core framework is ready.
> 
> While I am here, I renamed "dev", which was actually private data,
> into "priv" because dev->dev looks confusing.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
> 
>   drivers/i2c/i2c-uniphier.c | 63 ++++++++++++++++++++++++----------------------
>   1 file changed, 33 insertions(+), 30 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