projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77bf5df
)
fbdev: imxfb: use __func__ for function name
author
Dario Binacchi
<dario.binacchi@amarulasolutions.com>
Sat, 11 Nov 2023 10:41:58 +0000
(11:41 +0100)
committer
Helge Deller
<deller@gmx.de>
Thu, 11 Jan 2024 16:09:01 +0000
(17:09 +0100)
Resolve the following warning reported by checkpatch:
WARNING: Prefer using '"%s...", __func__' to using 'imxfb_blank', this function's name, in a string
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/imxfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/imxfb.c
b/drivers/video/fbdev/imxfb.c
index a0172ff75c46b525e50430600eec93650c31efb8..8d6943f0bfcaf42292dff5930fe2cee5a8409795 100644
(file)
--- a/
drivers/video/fbdev/imxfb.c
+++ b/
drivers/video/fbdev/imxfb.c
@@
-576,7
+576,7
@@
static int imxfb_blank(int blank, struct fb_info *info)
{
struct imxfb_info *fbi = info->par;
- pr_debug("
imxfb_blank: blank=%d\n"
, blank);
+ pr_debug("
%s: blank=%d\n", __func__
, blank);
switch (blank) {
case FB_BLANK_POWERDOWN: