staging: sm750fb: rename hwI2CWriteReg to sm750_hw_i2c_write_reg

Fix the checkpatch warning about CamelCase

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mike Rapoport 2015-09-12 11:07:36 +03:00 committed by Greg Kroah-Hartman
parent 5ccf734003
commit 6bdbe62b9d
3 changed files with 3 additions and 3 deletions

View 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

View 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

View 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