staging: sm750fb: rename hwI2CInit to sm750_hw_i2c_init
authorMike Rapoport <mike.rapoport@gmail.com>
Sat, 12 Sep 2015 08:07:33 +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 5ddac430aea2ef321d8a5c2bf189f7535b8299b6..7eb122e6ac1a94d3406bb0482a31cd363fd1c546 100644 (file)
@@ -9,7 +9,7 @@
 #define HWI2C_WAIT_TIMEOUT              0xF0000
 
 
-int hwI2CInit(
+int sm750_hw_i2c_init(
 unsigned char busSpeedMode
 )
 {
index 0b830ba65eec48f4625a2f77126590fffde8d4da..11381eb99309a1c3ca3147dec4dfa3c538004b03 100644 (file)
@@ -2,7 +2,7 @@
 #define DDK750_HWI2C_H__
 
 /* hwi2c functions */
-int hwI2CInit(unsigned char busSpeedMode);
+int sm750_hw_i2c_init(unsigned char busSpeedMode);
 void hwI2CClose(void);
 
 unsigned char hwI2CReadReg(unsigned char deviceAddress, unsigned char registerIndex);
index 0bdf3db11df04af03186360a0232b2853bcdf693..1803b74b6f9fd954ea20290cb431271cc725fae0 100644 (file)
@@ -130,7 +130,7 @@ long sii164InitChip(
        /* Initialize the i2c bus */
 #ifdef USE_HW_I2C
        /* Use fast mode. */
-       hwI2CInit(1);
+       sm750_hw_i2c_init(1);
 #else
        swI2CInit(DEFAULT_I2C_SCL, DEFAULT_I2C_SDA);
 #endif