[PATCH 04/10] staging:rtl8192u: Rename file macro to avoid camel case - Coding Style

Greg KH gregkh at linuxfoundation.org
Fri Jul 13 09:39:38 UTC 2018


On Wed, Jul 11, 2018 at 08:21:43PM +0100, John Whitmore wrote:
> Simple rename of the preprosessor switch, protecting against multiple
> inclusion of the header file. Change to clear the checkpatch coding style
> issue.
> 
> Signed-off-by: John Whitmore <johnfwhitmore at gmail.com>
> ---
>  drivers/staging/rtl8192u/r8192U.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192U.h
> index a653a51f7b90..86cf3ef3a970 100644
> --- a/drivers/staging/rtl8192u/r8192U.h
> +++ b/drivers/staging/rtl8192u/r8192U.h
> @@ -15,8 +15,8 @@
>   * project Authors.
>   */
>  
> -#ifndef R819xU_H
> -#define R819xU_H
> +#ifndef R819U_H
> +#define R819U_H

Shouldn't this be R8192U_H?

thanks,

greg k-h


More information about the devel mailing list