Commit ed10eab5 authored by Lynn Lei's avatar Lynn Lei Committed by Bartlomiej Zolnierkiewicz

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: default avatarLynn Lei <lynnl.wit@gmail.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 5161b96d
...@@ -785,7 +785,7 @@ static void __init sm7xx_vga_setup(char *options) ...@@ -785,7 +785,7 @@ static void __init sm7xx_vga_setup(char *options)
smtc_scr_info.lfb_height = 0; smtc_scr_info.lfb_height = 0;
smtc_scr_info.lfb_depth = 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++) { for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) {
if (strstr(options, vesa_mode_table[i].index)) { if (strstr(options, vesa_mode_table[i].index)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment