Re: [PATCH 2/8] staging: sm750fb: rename gDviCtrlChipName
From: Greg Kroah-Hartman
Date: Fri Apr 18 2025 - 06:36:23 EST
On Thu, Apr 17, 2025 at 08:02:50PM +0100, Ruben Wauters wrote:
> Renames gDviCtrlChipName to dvi_controller_chip_name
> This fixes checkpatch.pl's camel case check.
>
> Signed-off-by: Ruben Wauters <rubenru09@xxxxxxx>
>
> ---
>
> I changed the name to dvi_controller_chip_name as I
> believe it is somewhat more descriptive than
> g_dvi_ctrl_chip_name. If the second one is wanted instead
> please let me know and I will change it
> ---
> drivers/staging/sm750fb/ddk750_sii164.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c
> index dd7811b18bf6..d4309e0d807f 100644
> --- a/drivers/staging/sm750fb/ddk750_sii164.c
> +++ b/drivers/staging/sm750fb/ddk750_sii164.c
> @@ -14,7 +14,7 @@
>
> #ifdef SII164_FULL_FUNCTIONS
This is never defined, so instead of papering over variable names that
are crazy, why not just remove all of the code in the blocks for this
define entirely?
thanks,
greg k-h