diff options
author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2023-11-11 11:41:58 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-01-11 17:09:01 +0100 |
commit | cb892e5dfed3044974c4f10addbc297966224fe8 (patch) | |
tree | 7f1dfc9a885eba48fe2d16bf5a657e8c1df15c1f /drivers/video | |
parent | 77bf5df43348c45eddf40e06e9a1d417f1d755ef (diff) |
fbdev: imxfb: use __func__ for function name
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/imxfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index a0172ff75c46..8d6943f0bfca 100644 --- 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: |