[PATCH 4/4] i2c: omap: remove unncessary printf
Sascha Hauer
s.hauer at pengutronix.de
Fri Sep 27 03:17:52 EDT 2013
A printf in the driver should be dev_* and contain useful information.
Both is not the case, remove it.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/i2c/busses/i2c-omap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 2eb51334..52ffdbb 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -791,7 +791,7 @@ i2c_omap_probe(struct device_d *pdev)
i2c_omap->speed = speed;
i2c_omap->base = dev_request_mem_region(pdev, 0);
- printf ("I2C probe\n");
+
omap_i2c_unidle(i2c_omap);
i2c_omap->rev = omap_i2c_read_reg(i2c_omap, OMAP_I2C_REV_REG) & 0xff;
--
1.8.4.rc3
More information about the barebox
mailing list