[media] exynos-gsc: Simplify system PM
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Nov 2016 14:23:57 +0000 (12:23 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 18:33:52 +0000 (16:33 -0200)
commit701a8de6ef4ee1a5000144cc7d66ecc343598e14
treec615afa97dcf230077649b8d34fac6736164c623
parent7ebcb3e842bd933fa6792414a3b369a661d99665
[media] exynos-gsc: Simplify system PM

It's not needed to keep a local flag about the current system PM state.
Let's just remove that code and the corresponding debug print.

[mszyprow: rebased onto v4.9-rc4]

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/exynos-gsc/gsc-core.c
drivers/media/platform/exynos-gsc/gsc-core.h