staging: sm750fb: rename hwI2CWriteReg to sm750_hw_i2c_write_reg
authorMike Rapoport <mike.rapoport@gmail.com>
Sat, 12 Sep 2015 08:07:36 +0000 (11:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2015 15:50:46 +0000 (08:50 -0700)
Fix the checkpatch warning about CamelCase

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_hwi2c.c
drivers/staging/sm750fb/ddk750_hwi2c.h
drivers/staging/sm750fb/ddk750_sii164.c

index 03da0a756a2ba9b9d9155e01c3f37a125019ba05..e6d31db037e6fe9d6a19fa481eca2f69cd9e0ed7 100644 (file)
@@ -249,7 +249,7 @@ unsigned char sm750_hw_i2c_read_reg(
  *          0   - Success
  *         -1   - Fail
  */
-int hwI2CWriteReg(
+int sm750_hw_i2c_write_reg(
        unsigned char deviceAddress,
        unsigned char registerIndex,
        unsigned char data
index 70a6007e5e68af938d18c43348d8b181ac8a571e..29ce48daaf08b48190a02389e90ed6372faa0aca 100644 (file)
@@ -6,5 +6,5 @@ int sm750_hw_i2c_init(unsigned char busSpeedMode);
 void sm750_hw_i2c_close(void);
 
 unsigned char sm750_hw_i2c_read_reg(unsigned char deviceAddress, unsigned char registerIndex);
-int hwI2CWriteReg(unsigned char deviceAddress, unsigned char registerIndex, unsigned char data);
+int sm750_hw_i2c_write_reg(unsigned char deviceAddress, unsigned char registerIndex, unsigned char data);
 #endif
index 20dbc05987c7990cae6ba0c834a83eeff4a2c4cb..3d129aae6800d4cf0290bbd8e19de566da52a85e 100644 (file)
@@ -11,7 +11,7 @@
 #define USE_HW_I2C
 
 #ifdef USE_HW_I2C
-    #define i2cWriteReg hwI2CWriteReg
+    #define i2cWriteReg sm750_hw_i2c_write_reg
     #define i2cReadReg  sm750_hw_i2c_read_reg
 #else
     #define i2cWriteReg swI2CWriteReg