[media] s5p-fimc: Keep local copy of sensors platform data
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 17 Sep 2012 09:00:48 +0000 (06:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 23:27:52 +0000 (20:27 -0300)
commit6612a08268a5efcc05e4a27dffde33f1b2b3a3eb
treeb9523f5cd5f1923eb8900d1043539bef858d024e
parent99c6902cdd66153ef6f0a272d0442d31bb5f6eb1
[media] s5p-fimc: Keep local copy of sensors platform data

Use a copy of sensor platform data structure, rather than referencing
external platform data from the driver. This allows to fill the local
copy with values parsed from device tree when needed.

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-lite.c
drivers/media/platform/s5p-fimc/fimc-mdevice.c
drivers/media/platform/s5p-fimc/fimc-mdevice.h