summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmet Sezgin Duran <ahmet@sezginduran.net>2025-09-12 16:26:27 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-14 17:08:39 +0200
commite4cb5665211013e5fe4488493b5bd6a13797901e (patch)
tree217f2775b8ab7ffca5e3538db219c79c0a8095c0
parent357704a3cf366146f1f829062970bc52162f0c76 (diff)
staging: sm750fb: rename camel case variable
Rename regValue to reg_value to follow kernel coding style. Signed-off-by: Ahmet Sezgin Duran <ahmet@sezginduran.net> Link: https://lore.kernel.org/r/20250912162627.95010-1-ahmet@sezginduran.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/sm750fb/sm750_accel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c
index 7ac2e7b6ea0f..b07c1aa68621 100644
--- a/drivers/staging/sm750fb/sm750_accel.c
+++ b/drivers/staging/sm750fb/sm750_accel.c
@@ -17,9 +17,9 @@
#include "sm750.h"
#include "sm750_accel.h"
-static inline void write_dpr(struct lynx_accel *accel, int offset, u32 regValue)
+static inline void write_dpr(struct lynx_accel *accel, int offset, u32 reg_value)
{
- writel(regValue, accel->dpr_base + offset);
+ writel(reg_value, accel->dpr_base + offset);
}
static inline u32 read_dpr(struct lynx_accel *accel, int offset)