summaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-common.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-05-26 08:24:00 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 10:30:54 -0300
commit6ec19898ed6990baa285b8c96a8b1a0d0366bc46 (patch)
tree66a395be3139b5d5f58d09a453ef9cf34e81cf39 /drivers/media/v4l2-core/v4l2-common.c
parentfacd23664f1d63c33fbc6da52261c8548ed3fbd4 (diff)
downloadblackbird-op-linux-6ec19898ed6990baa285b8c96a8b1a0d0366bc46.tar.gz
blackbird-op-linux-6ec19898ed6990baa285b8c96a8b1a0d0366bc46.zip
[media] v4l2: remove obsolete v4l2_chip_match_host()
This function is no longer needed since it is now the responsibility of the v4l2 core to check if the DBG_G/S_REGISTER and DBG_G_CHIP_INFO ioctls are called for the bridge driver or not. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-common.c')
-rw-r--r--drivers/media/v4l2-core/v4l2-common.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c
index 3fed63f4e026..5fd76609e613 100644
--- a/drivers/media/v4l2-core/v4l2-common.c
+++ b/drivers/media/v4l2-core/v4l2-common.c
@@ -227,17 +227,6 @@ u32 v4l2_ctrl_next(const u32 * const * ctrl_classes, u32 id)
}
EXPORT_SYMBOL(v4l2_ctrl_next);
-int v4l2_chip_match_host(const struct v4l2_dbg_match *match)
-{
- switch (match->type) {
- case V4L2_CHIP_MATCH_BRIDGE:
- return match->addr == 0;
- default:
- return 0;
- }
-}
-EXPORT_SYMBOL(v4l2_chip_match_host);
-
#if IS_ENABLED(CONFIG_I2C)
int v4l2_chip_match_i2c_client(struct i2c_client *c, const struct v4l2_dbg_match *match)
{
OpenPOWER on IntegriCloud