MLK-14800: fbdev: Refactor printed information
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 11 May 2017 12:59:07 +0000 (15:59 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:17 +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.c

index d0f064e..68a9bfa 100644 (file)
@@ -1022,7 +1022,7 @@ static int __init mipi_dsi_init(void)
                pr_err("mipi_dsi_driver register failed\n");
                return -ENODEV;
        }
-       pr_info("MIPI DSI driver module loaded\n");
+       pr_debug("MIPI DSI driver module loaded: %s\n", mipi_dsi_driver.driver.name);
        return 0;
 }