s5p-mfc: use one implementation of s5p_mfc_get_new_ctx
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 10 Nov 2015 11:35:12 +0000 (12:35 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:48:56 +0000 (13:48 +0900)
commit4cca13a5dcba6bae4743fdcbefb55b3dd675b6d7
tree38944a43620f9b727b33e4a344d13b5d3e9b3859
parentab36762a26bfadbbbcbead95ffe9f8a7db50520a
s5p-mfc: use one implementation of s5p_mfc_get_new_ctx

Both version of MFC driver uses 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>
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