[media] s5p-fimc: Don't allocate fimc-m2m video device dynamically
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 26 Jul 2012 10:59:11 +0000 (07:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 17:56:12 +0000 (14:56 -0300)
commitbbc5296f20570756ca437587325c785a2d96ea96
tree2bee998b4123a9e09bb912327d7bee6a67d1cd8e
parent31d34d9bb30fef7aee1800ec63255083dbcdfa83
[media] s5p-fimc: Don't allocate fimc-m2m video device dynamically

There is no need to to dynamically allocate struct video_device
for the M2M devices, so embed it instead in driver's private
data structure as it is done in case of fimc-capture and fimc-lite,
where it solves some bugs on cleanup paths.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-fimc/fimc-capture.c
drivers/media/platform/s5p-fimc/fimc-core.h
drivers/media/platform/s5p-fimc/fimc-m2m.c
This page took 0.025167 seconds and 5 git commands to generate.