OMAP2,3: DSS2: replace printk with dev_dbg in init
authorSumit Semwal <sumit.semwal@ti.com>
Mon, 24 Jan 2011 06:22:03 +0000 (06:22 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:21 +0000 (15:46 +0200)
This patch replaces printk's in the init/probe functions to dev_dbg
for boot time optimization.

Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/rfbi.c
drivers/video/omap2/dss/venc.c

index 28ad68b..032e5dd 100644 (file)
@@ -3350,7 +3350,7 @@ static int omap_dispchw_probe(struct platform_device *pdev)
        dispc_save_context();
 
        rev = dispc_read_reg(DISPC_REVISION);
-       printk(KERN_INFO "OMAP DISPC rev %d.%d\n",
+       dev_dbg(&pdev->dev, "OMAP DISPC rev %d.%d\n",
               FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
 
        enable_clocks(0);
index fa85f1a..df24603 100644 (file)
@@ -3300,7 +3300,7 @@ static int dsi_init(struct platform_device *pdev)
        enable_clocks(1);
 
        rev = dsi_read_reg(DSI_REVISION);
-       printk(KERN_INFO "OMAP DSI rev %d.%d\n",
+       dev_dbg(&pdev->dev, "OMAP DSI rev %d.%d\n",
               FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
 
        enable_clocks(0);
index 153f963..5f18648 100644 (file)
@@ -1046,7 +1046,7 @@ static int omap_rfbihw_probe(struct platform_device *pdev)
        rfbi_write_reg(RFBI_SYSCONFIG, l);
 
        rev = rfbi_read_reg(RFBI_REVISION);
-       printk(KERN_INFO "OMAP RFBI rev %d.%d\n",
+       dev_dbg(&pdev->dev, "OMAP RFBI rev %d.%d\n",
               FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
 
        rfbi_enable_clocks(0);
index 765a4ac..4a02f8e 100644 (file)
@@ -739,7 +739,7 @@ static int omap_venchw_probe(struct platform_device *pdev)
        venc_enable_clocks(1);
 
        rev_id = (u8)(venc_read_reg(VENC_REV_ID) & 0xff);
-       printk(KERN_INFO "OMAP VENC rev %d\n", rev_id);
+       dev_dbg(&pdev->dev, "OMAP VENC rev %d\n", rev_id);
 
        venc_enable_clocks(0);