From: Hans Verkuil Date: Sat, 8 Jan 2011 10:08:02 +0000 (-0300) Subject: [media] v4l2-subdev: remove core.s_config and v4l2_i2c_new_subdev_cfg() X-Git-Tag: v2.6.38-rc2~1^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7c9370fb645f4713e0fbbe69425d8db9b47a13;p=pandora-kernel.git [media] v4l2-subdev: remove core.s_config and v4l2_i2c_new_subdev_cfg() The core.s_config op was meant for legacy drivers that needed to work with old pre-2.6.26 kernels. This is no longer relevant. Unfortunately, this op was incorrectly called from several drivers. Replace those occurences with proper i2c_board_info structs and call v4l2_i2c_new_subdev_board. After these changes v4l2_i2c_new_subdev_cfg() was no longer used, so remove that function as well. Signed-off-by: Hans Verkuil Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed