media: s5p-mfc: replace custom reserved memory handling code with generic one
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 24 May 2016 13:31:26 +0000 (15:31 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 3 Jun 2016 09:13:36 +0000 (11:13 +0200)
commitc79667dd93b084fe412bcfe7fbf0ba43f7dec520
tree4d7a9809ff073187dacb683d9213c35a602149d8
parent6a8d73e2859df06540d37877b1c1a0c9b5d11292
media: s5p-mfc: replace custom reserved memory handling code with generic one

This patch removes custom code for initialization and handling of
reserved memory regions in s5p-mfc driver and replaces it with generic
reserved memory regions api.

s5p-mfc driver now handles two reserved memory regions defined by
generic reserved memory bindings. Support for non-dt platform has been
removed, because all supported platforms have been already converted to
device tree.

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>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c