s3c-fb: add support for runtime pm
authorJingoo Han <jg1.han@samsung.com>
Fri, 17 Dec 2010 07:45:46 +0000 (16:45 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Dec 2010 16:05:43 +0000 (01:05 +0900)
commit4959212c18669f254daa0ae796ad676b67939ba2
treead7957b2e9bac2687c14a9f92eff6637d127fe3d
parent3b80ffdef001ac7ff53bdcb80ad2baadb5953f91
s3c-fb: add support for runtime pm

This patch adds support for runtime pm using the functions.
 - pm_runtime_get_sync()
 - pm_runtime_put_sync()

pm_runtime_get_sync() and pm_runtime_put_sync() are called when
open or release function of framebufer driver is called to inform
the system if hardware is idle or not.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/s3c-fb.c