Re: [PATCH 05/17] staging: sm750fb: ddk750_hwi2c: rename CamelCase static functions

From: Greg Kroah-Hartman
Date: Thu Sep 03 2015 - 21:15:55 EST


On Mon, Aug 24, 2015 at 08:23:19AM +0300, Mike Rapoport wrote:
> Signed-off-by: Mike Rapoport <mike.rapoport@xxxxxxxxx>
> ---
> drivers/staging/sm750fb/ddk750_hwi2c.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c
> index e6d31db..0677ff0 100644
> --- a/drivers/staging/sm750fb/ddk750_hwi2c.c
> +++ b/drivers/staging/sm750fb/ddk750_hwi2c.c
> @@ -60,7 +60,7 @@ void sm750_hw_i2c_close(void)
> }
>
>
> -static long hwI2CWaitTXDone(void)
> +static long sm750_hw_i2c_wait_tx_done(void)

No need to add sm750_ to the front of these static function names.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/