video: fbdev: sm712fb.c: using __func__ macro for pr_debug
authorLynn Lei <lynnl.yet@gmail.com>
Tue, 1 Aug 2017 15:20:38 +0000 (17:20 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 1 Aug 2017 15:20:38 +0000 (17:20 +0200)
Inside function sm7xx_vga_setup()

Using a generic function macro for debug information display

Signed-off-by: Lynn Lei <lynnl.wit@gmail.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/sm712fb.c

index 73cb4ffff3c5910f5dfb8b41f5e40f2849803459..4d3684333b7b0c8c36181e6e5cf696185926e800 100644 (file)
@@ -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)) {