]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
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 28ad68b6be481cfd4fab30890d308fdbe3bfa375..032e5dd19e098b4c8fe42819a1675e303744a444 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 fa85f1adba2a47562b3c158014d9f8b25448975e..df246033b940383a9451903302bcfe08ec5811e2 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 153f963e8e8939a809be68ee489c2f5346e80d60..5f186484984fb57e414b4ba404190728b674736a 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 765a4ac44ecdc4837b8191bde8fef71a6e704a51..4a02f8eeb0d882deea3f097ce7b7c02f6bd4215b 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);