[media] s5p-mfc: Use generic of_device_get_match_data helper
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Feb 2017 13:38:51 +0000 (10:38 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Apr 2017 18:46:26 +0000 (15:46 -0300)
commit4a5ab64ccf7d2f941f549cbb6a5350dce17b422e
treefb414e0f458e58dd8b2cab8d34ea719d83ec2f77
parent9f05df83fad2b6a0c3027a093ac00f1232bdf9df
[media] s5p-mfc: Use generic of_device_get_match_data helper

Replace custom code with generic helper to retrieve driver data.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h