i2c: i2c_phy_v0: remove the debug message 90/153590/2 accepted/tizen/4.0/unified/20171017.210954 accepted/tizen/unified/20171016.064312 submit/tizen/20171013.052930 submit/tizen_4.0/20171013.052941 tizen_4.0.m2_release
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 28 Sep 2017 12:19:15 +0000 (21:19 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 29 Sep 2017 09:58:07 +0000 (18:58 +0900)
These messages aren't displayed.
Remove the unnecessary debug message for fixing compile warning.

Change-Id: If7474ae0f06c8a39ffd3b734f4fdb2267c866569
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/i2c/v0/i2c_phy_v0.c

index 568b5ab..408590d 100644 (file)
@@ -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);