mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:44:45 +01:00
staging: fbtft: Make framebuffer registration message debug-only
The framebuffer registration message is informational only and not useful during normal operation. Convert it to debug-level logging to keep the driver quiet when working correctly. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Chintan Patel <chintanlike@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
be26a07c61
commit
c595c19602
1 changed files with 5 additions and 5 deletions
|
|
@ -792,11 +792,11 @@ int fbtft_register_framebuffer(struct fb_info *fb_info)
|
|||
if (spi)
|
||||
sprintf(text2, ", spi%d.%d at %d MHz", spi->controller->bus_num,
|
||||
spi_get_chipselect(spi, 0), spi->max_speed_hz / 1000000);
|
||||
fb_info(fb_info,
|
||||
"%s frame buffer, %dx%d, %d KiB video memory%s, fps=%lu%s\n",
|
||||
fb_info->fix.id, fb_info->var.xres, fb_info->var.yres,
|
||||
fb_info->fix.smem_len >> 10, text1,
|
||||
HZ / fb_info->fbdefio->delay, text2);
|
||||
fb_dbg(fb_info,
|
||||
"%s frame buffer, %dx%d, %d KiB video memory%s, fps=%lu%s\n",
|
||||
fb_info->fix.id, fb_info->var.xres, fb_info->var.yres,
|
||||
fb_info->fix.smem_len >> 10, text1,
|
||||
HZ / fb_info->fbdefio->delay, text2);
|
||||
|
||||
/* Turn on backlight if available */
|
||||
if (fb_info->bl_dev) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue