i2c: i2c_hal: remove the unnecessary debug message 88/153588/2
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 28 Sep 2017 11:59:17 +0000 (20:59 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 29 Sep 2017 09:58:06 +0000 (18:58 +0900)
These messages aren't displayed.
Remove the unnecessaray debug message for removing warning.

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

index 2a28ddf..9119ceb 100644 (file)
@@ -117,7 +117,6 @@ LOCAL uint32 I2C_Bus_CFG (uint32 logic_id)
 LOCAL uint32 I2C_Bus_Init (uint32 logic_id, uint32 freq, uint32 port_id)
 {
     uint32 bus_id = __i2c_phy_cfg[logic_id].phy_id;
-    IIC_PRINT ("[IIC DRV:]I2C_Bus_Init");
     /*config bus property*/
     __i2c_bus[bus_id].current_freq = freq;
     __i2c_bus[bus_id].current_port = port_id;
@@ -151,7 +150,6 @@ LOCAL uint32 I2C_Bus_Exit (uint32 bus_id)
         __i2c_bus[bus_id].mutex = NULL;
     }
 */
-    IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val);
     /*release the bus method*/
     __i2c_bus[bus_id].phy_fun = NULL;
     return 0;
@@ -219,8 +217,6 @@ PUBLIC int32 I2C_HAL_Open (I2C_DEV *dev)
 
     __i2c_bus[bus_id].reference++;
 
-    IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference);
-
     return  handle;
 }
 
@@ -265,8 +261,6 @@ PUBLIC int32 I2C_HAL_Close (uint32 handle)
     __i2c_dev[handle].check_ack = 0;
     __i2c_dev[handle].no_stop = 0;
 
-    IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference);
-
     return  0;
 }