[U-Boot] [PATCH 6/7] i2c: designware: Drop invalid debugging

Simon Glass sjg at chromium.org
Sat Nov 2 13:59:17 UTC 2019


This printf() should not be there.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/i2c/designware_i2c.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c
index 54e4a70c74..b12ad02a43 100644
--- a/drivers/i2c/designware_i2c.c
+++ b/drivers/i2c/designware_i2c.c
@@ -540,7 +540,6 @@ static int designware_i2c_ofdata_to_platdata(struct udevice *bus)
 {
 	struct dw_i2c *priv = dev_get_priv(bus);
 
-	printf("bad\n");
 	priv->regs = (struct i2c_regs *)devfdt_get_addr_ptr(bus);
 
 	return 0;
-- 
2.24.0.rc1.363.gb1bccd3e3d-goog



More information about the U-Boot mailing list