[media] s5p-mfc: Fix kernel warning on memory init
authorArun Kumar K <arun.kk@samsung.com>
Fri, 18 Jan 2013 18:42:34 +0000 (15:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 19:32:52 +0000 (17:32 -0200)
commit6e83e6e25eb49dc57a69b3f8ecc1e764c9775101
tree3e70dad972ae097059af269eba7b17671c5679ef
parente82564475eab196b2e8a11572fff8e268329530e
[media] s5p-mfc: Fix kernel warning on memory init

Cleaned up the memory devices allocation code and added
missing device_initialize() call to remove the kernel warning
during memory allocations.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c