MLK-14800: fbdev: Refactor printed information
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 11 May 2017 13:00:15 +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_northwest.c

index 27f5cb0..d2a2608 100644 (file)
@@ -1107,7 +1107,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;
 }