[media] s5p-mfc: remove unnecessary calling to function video_devdata()
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 23 Jul 2014 04:06:12 +0000 (01:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 30 Jul 2014 22:22:21 +0000 (19:22 -0300)
commit55647a99361603957a9d2a1b59450290dada5fae
tree3cb1092e810d8909ab6225b3f7f78d41189fb011
parent39c344c4487a23c1399c384b78399b5947a47b50
[media] s5p-mfc: remove unnecessary calling to function video_devdata()

Since we have get vdev by calling video_devdata() at the beginning of
s5p_mfc_open(), we should just use vdev instead of calling video_devdata()
again in the following code.

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c