Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: sm750fb: rename swI2CInit to sm750_sw_i2c_init

Fix the checkpatch warning about CamelCase.

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Mike Rapoport and committed by
Greg Kroah-Hartman
f2ea7733 ac118951

+4 -4
+1 -1
drivers/staging/sm750fb/ddk750_sii164.c
··· 132 132 /* Use fast mode. */ 133 133 sm750_hw_i2c_init(1); 134 134 #else 135 - swI2CInit(DEFAULT_I2C_SCL, DEFAULT_I2C_SDA); 135 + sm750_sw_i2c_init(DEFAULT_I2C_SCL, DEFAULT_I2C_SDA); 136 136 #endif 137 137 138 138 /* Check if SII164 Chip exists */
+1 -1
drivers/staging/sm750fb/ddk750_swi2c.c
··· 386 386 * -1 - Fail to initialize the i2c 387 387 * 0 - Success 388 388 */ 389 - long swI2CInit( 389 + long sm750_sw_i2c_init( 390 390 unsigned char i2cClkGPIO, 391 391 unsigned char i2cDataGPIO 392 392 )
+1 -1
drivers/staging/sm750fb/ddk750_swi2c.h
··· 28 28 * -1 - Fail to initialize the i2c 29 29 * 0 - Success 30 30 */ 31 - long swI2CInit( 31 + long sm750_sw_i2c_init( 32 32 unsigned char i2cClkGPIO, 33 33 unsigned char i2cDataGPIO 34 34 );
+1 -1
drivers/staging/sm750fb/sm750_hw.c
··· 169 169 /* Set up GPIO for software I2C to program DVI chip in the 170 170 Xilinx SP605 board, in order to have video signal. 171 171 */ 172 - swI2CInit(0, 1); 172 + sm750_sw_i2c_init(0, 1); 173 173 174 174 175 175 /* Customer may NOT use CH7301 DVI chip, which has to be