i.MX: Standardize i.MX I2C debug
commit3afcbb01bc1227bc3a3bade1804c449daf74b262
authorJean-Christophe Dubois <jcd@tribudubois.net>
Sun, 25 Oct 2015 14:16:14 +0000 (25 15:16 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Oct 2015 15:59:46 +0000 (27 15:59 +0000)
tree7ef50ef9bb53ee7b48b18ae23ec087cfc5d1753c
parent564111257468bb772ad0b374dbbb0c969a554cfd
i.MX: Standardize i.MX I2C debug

The goal is to have debug code always compiled during build.

We standardize all debug output on the following format:

[QOM_TYPE_NAME]reporting_function: debug message

The qemu_log_mask() output is following the same format as
the above debug.

Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 328acfe6fc09a5afdbfbfd5220e0869fd5082660.1445781957.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/i2c/imx_i2c.c