udlfb: Improve debugging printouts with refresh rate
authorMartin Decky <martin@desky.cz>
Fri, 2 Mar 2012 00:31:11 +0000 (16:31 -0800)
committerBernie Thompson <bernie@plugable.com>
Fri, 2 Mar 2012 01:45:56 +0000 (17:45 -0800)
It is not very helpful to print a list of the same resolutions
without the refresh rate.

Signed-off-by: Bernie Thompson <bernie@plugable.com>
drivers/video/udlfb.c

index a40c05e..04aea20 100644 (file)
@@ -1012,7 +1012,8 @@ static int dlfb_is_valid_mode(struct fb_videomode *mode,
                return 0;
        }
 
-       pr_info("%dx%d valid mode\n", mode->xres, mode->yres);
+       pr_info("%dx%d @ %d Hz valid mode\n", mode->xres, mode->yres,
+               mode->refresh);
 
        return 1;
 }