From: Lynn Lei Date: Tue, 1 Aug 2017 15:20:38 +0000 (+0200) Subject: video: fbdev: sm712fb.c: using __func__ macro for pr_debug X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed10eab5f52e466f83176ce7780d45f4dfefe6d3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git video: fbdev: sm712fb.c: using __func__ macro for pr_debug Inside function sm7xx_vga_setup() Using a generic function macro for debug information display Signed-off-by: Lynn Lei Cc: Sudip Mukherjee Cc: Teddy Wang Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/fbdev/sm712fb.c b/drivers/video/fbdev/sm712fb.c index 73cb4ffff3c5..4d3684333b7b 100644 --- a/drivers/video/fbdev/sm712fb.c +++ b/drivers/video/fbdev/sm712fb.c @@ -785,7 +785,7 @@ static void __init sm7xx_vga_setup(char *options) smtc_scr_info.lfb_height = 0; smtc_scr_info.lfb_depth = 0; - pr_debug("sm7xx_vga_setup = %s\n", options); + pr_debug("%s = %s\n", __func__, options); for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) { if (strstr(options, vesa_mode_table[i].index)) {