Thread (2 messages) 2 messages, 2 authors, 2024-03-05

Re: [PATCH] staging: sm750fb: rename function deGetTransparency()

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2024-03-05 14:01:34
Also in: linux-staging, lkml

On Fri, Feb 23, 2024 at 10:58:12AM -0400, Samuel Kayode wrote:
quoted hunk ↗ jump to hunk
Rename function deGetTransparency to de_get_transparency to fix
checkpatch warning Avoid CamelCase.

Signed-off-by: Samuel Kayode <samkay014@gmail.com>
---
 drivers/staging/sm750fb/sm750_accel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c
index 44b9e3fe3a41..ad9d8bd34e5a 100644
--- a/drivers/staging/sm750fb/sm750_accel.c
+++ b/drivers/staging/sm750fb/sm750_accel.c
@@ -284,7 +284,7 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
 	return 0;
 }
 
-static unsigned int deGetTransparency(struct lynx_accel *accel)
+static unsigned int de_get_transparency(struct lynx_accel *accel)
What does "de_" here mean?  Why did you keep it?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help