aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/rfbi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-17 10:58:04 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-11 07:44:51 -0400
commit852f083843af618eaa8997f7803c9aed8293fdf9 (patch)
tree45d823a928788f772e30a13ae8b2b9b4dfd109f7 /drivers/video/omap2/dss/rfbi.c
parenta57dd4fe7bef557afaa1a6cdb77cd95b2cba094e (diff)
OMAPDSS: remove uses of dss_runtime_get/put
Now that the omapdss_core device is the parent for all other dss devices, we don't need to use the dss_runtime_get/put anymore. Instead, enabling omapdss_core will happen automatically when a child device is enabled. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/rfbi.c')
-rw-r--r--drivers/video/omap2/dss/rfbi.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/video/omap2/dss/rfbi.c b/drivers/video/omap2/dss/rfbi.c
index 31c992662457..c5e69068489d 100644
--- a/drivers/video/omap2/dss/rfbi.c
+++ b/drivers/video/omap2/dss/rfbi.c
@@ -992,7 +992,6 @@ static int omap_rfbihw_remove(struct platform_device *pdev)
992static int rfbi_runtime_suspend(struct device *dev) 992static int rfbi_runtime_suspend(struct device *dev)
993{ 993{
994 dispc_runtime_put(); 994 dispc_runtime_put();
995 dss_runtime_put();
996 995
997 return 0; 996 return 0;
998} 997}
@@ -1001,20 +1000,11 @@ static int rfbi_runtime_resume(struct device *dev)
1001{ 1000{
1002 int r; 1001 int r;
1003 1002
1004 r = dss_runtime_get();
1005 if (r < 0)
1006 goto err_get_dss;
1007
1008 r = dispc_runtime_get(); 1003 r = dispc_runtime_get();
1009 if (r < 0) 1004 if (r < 0)
1010 goto err_get_dispc; 1005 return r;
1011 1006
1012 return 0; 1007 return 0;
1013
1014err_get_dispc:
1015 dss_runtime_put();
1016err_get_dss:
1017 return r;
1018} 1008}
1019 1009
1020static const struct dev_pm_ops rfbi_pm_ops = { 1010static const struct dev_pm_ops rfbi_pm_ops = {