[media] davinci: vpif_capture: remove hard-coded I2C adapter id
authorKevin Hilman <khilman@baylibre.com>
Wed, 7 Dec 2016 18:30:22 +0000 (16:30 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:59:12 +0000 (07:59 -0200)
commit2d40cb3f0d710bb4c656f9b2f021c964f501baea
tree07f0c2bf85dc9d897cef42883a2c8db865dca4f8
parentbff782d78a96ff9bd50fd6d726fdb9d4b033795e
[media] davinci: vpif_capture: remove hard-coded I2C adapter id

Remove hard-coded I2C adapter in favor of getting the
ID from platform_data.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpif_capture.c
include/media/davinci/vpif_types.h