Re: [PATCH v2] staging: sm750fb: Rename nDirection to new_direction

From: Dan Carpenter

Date: Thu Feb 12 2026 - 05:19:36 EST


On Thu, Feb 12, 2026 at 11:57:15AM +0200, RachelOvrani wrote:
> Convert the variable 'nDirection' to 'new_direction'
> in drivers/staging/sm750fb/sm750_accel.c to comply
> with Linux kernel coding style guidelines.
>
> The variable holds a newly calculated direction value,
> so 'new_direction' makes the intent clearer than 'n_direction'.
>
> Checked with checkpatch.pl --strict: no warnings, no errors

Don't include this sort of thing in the patch description.

>
> Signed-off-by: RachelOvrani <rachel.ovrani@xxxxxxxxx>
> ---

This patch assumes we applied that previous patch but we won't.

https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/

regards,
dan carpenter