[media] s5p-mfc: use one implementation of s5p_mfc_get_new_ctx
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 2 Dec 2015 08:22:28 +0000 (06:22 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 23 Dec 2015 15:54:22 +0000 (13:54 -0200)
commit05d1d0f020d90afd6af48a98af1e9be846eed642
treeb2f8bda526a72a6721bb51b31d56748b2813d10f
parent4e9691aa40e36197be164b79c8a81d2702940e78
[media] s5p-mfc: use one implementation of s5p_mfc_get_new_ctx

Both version of MFC driver use functions with the same body and name.
The patch moves them to common location. It also simplifies it.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c