From: Jaehoon Chung Date: Thu, 28 Sep 2017 12:19:15 +0000 (+0900) Subject: i2c: i2c_phy_v0: remove the debug message X-Git-Tag: accepted/tizen/4.0/unified/20171017.210954^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=379d0d81236b4b8ffcdacd577fb1e71082d5791b;hp=a686b7254799faacfc2f809e6276424546f0ec45;p=profile%2Fmobile%2Fplatform%2Fkernel%2Fu-boot-tm1.git i2c: i2c_phy_v0: remove the debug message These messages aren't displayed. Remove the unnecessary debug message for fixing compile warning. Change-Id: If7474ae0f06c8a39ffd3b734f4fdb2267c866569 Signed-off-by: Jaehoon Chung --- diff --git a/drivers/i2c/v0/i2c_phy_v0.c b/drivers/i2c/v0/i2c_phy_v0.c index 568b5ab..408590d 100644 --- a/drivers/i2c/v0/i2c_phy_v0.c +++ b/drivers/i2c/v0/i2c_phy_v0.c @@ -246,8 +246,7 @@ LOCAL ERR_I2C_E I2C_PHY_ControlInit_V0 (uint32 phy_id, uint32 freq, uint32 port) //Clear I2C int //CHIP_REG_OR (I2C_CMD, I2CCMD_INT_ACK); ptr->cmd &= ~ (I2CCMD_INT_ACK); - - IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); + return ERR_I2C_NONE; } @@ -280,7 +279,6 @@ LOCAL ERR_I2C_E I2C_PHY_StartBus_V0 (uint32 phy_id, uint8 addr, BOOLEAN rw, BOOL } cmd = cmd | I2CCMD_START | I2CCMD_WRITE; - IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); ptr->cmd = cmd; I2C_WAIT_INT I2C_CLEAR_INT @@ -323,7 +321,6 @@ LOCAL ERR_I2C_E I2C_PHY_WriteBytes_V0 (uint32 phy_id, uint8 *pCmd, uint32 len, B } ptr->cmd = cmd; - IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); I2C_WAIT_INT I2C_CLEAR_INT @@ -366,7 +363,6 @@ LOCAL ERR_I2C_E I2C_PHY_ReadBytes_V0 (uint32 phy_id, uint8 *pCmd, uint32 len, BO } ptr->cmd = cmd; - IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); I2C_WAIT_INT I2C_CLEAR_INT pCmd[i] = (uint8) ( (ptr->cmd) >>8);