i2c: mxc_i2c: improve error message readability
authorMarc Ferland <ferlandm@amotus.ca>
Mon, 21 Dec 2020 14:50:16 +0000 (09:50 -0500)
committerStefano Babic <sbabic@denx.de>
Sat, 26 Dec 2020 13:56:09 +0000 (14:56 +0100)
commit26c7048dd9d04158a23e9dbfe3f0dccc4febcaed
treeb454fa8413e1e39486597d28433640490b9a2a2b
parente6abe163bf0b81d2ff6cfbc849252bb30b0d6a19
i2c: mxc_i2c: improve error message readability

Use 0x%2lx to print the i2c bus base address in hexadecimal format
instead of printing as an integer.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
drivers/i2c/mxc_i2c.c