MLK-14800: fbdev: Refactor printed information
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 11 May 2017 13:00:39 +0000 (16:00 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:18 +0000 (15:22 -0500)
Debug info should not be printed using pr_info on init. Use pr_debug
instead.
Also, use the driver name, since there is more than one MIPI DSI driver.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
drivers/video/fbdev/mxc/mipi_dsi_samsung.c

index 491ea68..3b2a0ee 100644 (file)
@@ -925,7 +925,7 @@ static int __init mipi_dsi_init(void)
                return err;
        }
 
-       pr_info("MIPI DSI driver module loaded\n");
+       pr_debug("MIPI DSI driver module loaded: %s\n", mipi_dsi_driver.driver.name);
 
        return 0;
 }