Commit a06b62f8 authored by Sumit Semwal's avatar Sumit Semwal Committed by Tomi Valkeinen

OMAP2,3: DSS2: replace printk with dev_dbg in init

This patch replaces printk's in the init/probe functions to dev_dbg
for boot time optimization.
Reviewed-by: default avatarKevin Hilman <khilman@ti.com>
Tested-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarSumit Semwal <sumit.semwal@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent c8aac01b
...@@ -3350,7 +3350,7 @@ static int omap_dispchw_probe(struct platform_device *pdev) ...@@ -3350,7 +3350,7 @@ static int omap_dispchw_probe(struct platform_device *pdev)
dispc_save_context(); dispc_save_context();
rev = dispc_read_reg(DISPC_REVISION); 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)); FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
enable_clocks(0); enable_clocks(0);
......
...@@ -3300,7 +3300,7 @@ static int dsi_init(struct platform_device *pdev) ...@@ -3300,7 +3300,7 @@ static int dsi_init(struct platform_device *pdev)
enable_clocks(1); enable_clocks(1);
rev = dsi_read_reg(DSI_REVISION); 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)); FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
enable_clocks(0); enable_clocks(0);
......
...@@ -1046,7 +1046,7 @@ static int omap_rfbihw_probe(struct platform_device *pdev) ...@@ -1046,7 +1046,7 @@ static int omap_rfbihw_probe(struct platform_device *pdev)
rfbi_write_reg(RFBI_SYSCONFIG, l); rfbi_write_reg(RFBI_SYSCONFIG, l);
rev = rfbi_read_reg(RFBI_REVISION); 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)); FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));
rfbi_enable_clocks(0); rfbi_enable_clocks(0);
......
...@@ -739,7 +739,7 @@ static int omap_venchw_probe(struct platform_device *pdev) ...@@ -739,7 +739,7 @@ static int omap_venchw_probe(struct platform_device *pdev)
venc_enable_clocks(1); venc_enable_clocks(1);
rev_id = (u8)(venc_read_reg(VENC_REV_ID) & 0xff); 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); venc_enable_clocks(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment