[media] rcar_vin: copy flags from pdata
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 14 Apr 2014 10:36:40 +0000 (07:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 17 Jun 2014 15:04:52 +0000 (12:04 -0300)
commit25dfa02ce21981ef08d375be987862f96676d8ab
tree7cd205170f0816f6d597f54e840fbd4b2e14e2fb
parent057c2a2ef576a21968e838194b8b9d3b6b106769
[media] rcar_vin: copy flags from pdata

The platform data is a single word, so simply copy
it into the device's private data structure than
keeping a copy of the pointer.

This will make changing to device-tree binding
easier as it is one allocation instead of two.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/soc_camera/rcar_vin.c