staging: sm750fb: rename hwI2CReadReg to sm750_hw_i2c_read_reg
authorMike Rapoport <mike.rapoport@gmail.com>
Sat, 12 Sep 2015 08:07:35 +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 8aa83ab1b31a4b78bae86b61d47de6050f402abc..03da0a756a2ba9b9d9155e01c3f37a125019ba05 100644 (file)
@@ -219,7 +219,7 @@ static unsigned int hwI2CReadData(
  *  Return Value:
  *      Register value
  */
-unsigned char hwI2CReadReg(
+unsigned char sm750_hw_i2c_read_reg(
        unsigned char deviceAddress,
        unsigned char registerIndex
 )
index a8d23d2e6955e088bdbc1849c5148564f774d377..70a6007e5e68af938d18c43348d8b181ac8a571e 100644 (file)
@@ -5,6 +5,6 @@
 int sm750_hw_i2c_init(unsigned char busSpeedMode);
 void sm750_hw_i2c_close(void);
 
-unsigned char hwI2CReadReg(unsigned char deviceAddress, unsigned char registerIndex);
+unsigned char sm750_hw_i2c_read_reg(unsigned char deviceAddress, unsigned char registerIndex);
 int hwI2CWriteReg(unsigned char deviceAddress, unsigned char registerIndex, unsigned char data);
 #endif
index 1803b74b6f9fd954ea20290cb431271cc725fae0..20dbc05987c7990cae6ba0c834a83eeff4a2c4cb 100644 (file)
@@ -12,7 +12,7 @@
 
 #ifdef USE_HW_I2C
     #define i2cWriteReg hwI2CWriteReg
-    #define i2cReadReg  hwI2CReadReg
+    #define i2cReadReg  sm750_hw_i2c_read_reg
 #else
     #define i2cWriteReg swI2CWriteReg
     #define i2cReadReg  swI2CReadReg