staging: sm750fb: rename swI2CReadReg to sm750_sw_i2c_read_reg
authorMike Rapoport <mike.rapoport@gmail.com>
Sat, 12 Sep 2015 08:07:39 +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_swi2c.c
drivers/staging/sm750fb/ddk750_swi2c.h
drivers/staging/sm750fb/sm750_hw.c

index ecfd300d432f28d9d5515a9c65fc878026c3bf04..765edd628affeaa34d669844a43c48c69d1839d7 100644 (file)
@@ -443,7 +443,7 @@ long sm750_sw_i2c_init(
  *  Return Value:
  *      Register value
  */
-unsigned char swI2CReadReg(
+unsigned char sm750_sw_i2c_read_reg(
        unsigned char deviceAddress,
        unsigned char registerIndex
 )
index 1e18b805e679832ffc2da608368327e134acc51c..2e87a637129263770ef37a6c7d9fb6d7f8ef0a9f 100644 (file)
@@ -44,7 +44,7 @@ long sm750_sw_i2c_init(
  *  Return Value:
  *      Register value
  */
-unsigned char swI2CReadReg(
+unsigned char sm750_sw_i2c_read_reg(
        unsigned char deviceAddress,
        unsigned char registerIndex
 );
index 522736eafcd5164dcd615060f33be5014c57a423..b8b5e000f62b2942226ad026a947693c51cb8cbb 100644 (file)
@@ -175,7 +175,7 @@ int hw_sm750_inithw(struct lynx_share *share, struct pci_dev *pdev)
        /* Customer may NOT use CH7301 DVI chip, which has to be
           initialized differently.
        */
-       if (swI2CReadReg(0xec, 0x4a) == 0x95) {
+       if (sm750_sw_i2c_read_reg(0xec, 0x4a) == 0x95) {
                /* The following register values for CH7301 are from
                   Chrontel app note and our experiment.
                */