diff options
author | Elise Lennion <elise.lennion@gmail.com> | 2016-10-27 22:23:35 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-30 11:13:11 -0400 |
commit | 03140dabf584555e96440084d1ac426127bdf8c3 (patch) | |
tree | 830ad9e079824c058919951f526f27e15c1842c0 /drivers/staging/sm750fb/ddk750_hwi2c.c | |
parent | cefc2fc61e1f5c80c6240634da01a4b846e9a6db (diff) | |
download | linux-stable-03140dabf584555e96440084d1ac426127bdf8c3.tar.gz linux-stable-03140dabf584555e96440084d1ac426127bdf8c3.tar.bz2 linux-stable-03140dabf584555e96440084d1ac426127bdf8c3.zip |
staging: sm750fb: Replace functions CamelCase naming with underscores.
Replace CamelCase function names with underscores to comply with
the standard kernel coding style.
Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_hwi2c.c')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_hwi2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index b60bedf6a854..10439e061ae8 100644 --- a/drivers/staging/sm750fb/ddk750_hwi2c.c +++ b/drivers/staging/sm750fb/ddk750_hwi2c.c @@ -24,7 +24,7 @@ unsigned char bus_speed_mode * Enable Hardware I2C power. * TODO: Check if we need to enable GPIO power? */ - enableI2C(1); + enable_i2c(1); /* Enable the I2C Controller and set the bus speed mode */ value = PEEK32(I2C_CTRL) & ~(I2C_CTRL_MODE | I2C_CTRL_EN); @@ -45,7 +45,7 @@ void sm750_hw_i2c_close(void) POKE32(I2C_CTRL, value); /* Disable I2C Power */ - enableI2C(0); + enable_i2c(0); /* Set GPIO 30 & 31 back as GPIO pins */ value = PEEK32(GPIO_MUX); |