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

Heiko Schocher hs at denx.de
Mon Oct 16 06:24:03 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-f.c | 114 ++++++++++++++++++++-----------------------
>   1 file changed, 52 insertions(+), 62 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