]> git.baikalelectronics.ru Git - kernel.git/commit
video: s3c-fb: use dev_get_drvdata() instead of platform_get_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 16 Oct 2012 04:21:44 +0000 (13:21 +0900)
committerJingoo Han <jg1.han@samsung.com>
Mon, 26 Nov 2012 04:35:36 +0000 (13:35 +0900)
commit2b96840122b5a291a9a0592c195f06936cef3fd4
tree75844c5a39ff5c3bfc0be55a5d53d08cb7b0a9bd
parente4ad6dad3b455194f06f10830dfec673e18c4848
video: s3c-fb: use dev_get_drvdata() instead of platform_get_drvdata()

Because there is no need to access to the platform device in
suspend/resume and runtime_suspend/resume, dev_get_drvdata()
can be used instead of platform_get_drvdata() to make the code
smaller.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
drivers/video/s3c-fb.c