drm/exynos: remove unnecessary runtime pm operations
authorJoonyoung Shim <jy0922.shim@samsung.com>
Sun, 18 Jan 2015 08:34:15 +0000 (17:34 +0900)
committerInki Dae <inki.dae@samsung.com>
Sun, 18 Jan 2015 08:59:31 +0000 (17:59 +0900)
In booting, we can see a below message.

[    3.241728] exynos-mixer 14450000.mixer: Unbalanced pm_runtime_enable!

Already pm_runtime_enable is called by probe function. Remove
pm_runtime_enable/disable from mixer_bind and mixer_unbind.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c

index 820b76234ef4c5c6da02ebe50327066c5fe38d1a..71f1688b188cb4034ed0a8b79adfc3ecadf67a73 100644 (file)
@@ -1262,8 +1262,6 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data)
                return ret;
        }
 
-       pm_runtime_enable(dev);
-
        return 0;
 }
 
@@ -1272,8 +1270,6 @@ static void mixer_unbind(struct device *dev, struct device *master, void *data)
        struct mixer_context *ctx = dev_get_drvdata(dev);
 
        mixer_mgr_remove(&ctx->manager);
-
-       pm_runtime_disable(dev);
 }
 
 static const struct component_ops mixer_component_ops = {