[media] v4l2: drop V4L2_CHIP_MATCH_SUBDEV_NAME
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 3 Apr 2013 07:08:19 +0000 (04:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 22:46:02 +0000 (19:46 -0300)
commit3eef25107cab65a1158b11ba373fb9b4fc25b4b8
treeab964c2868826e14c4a8ccf83f4e6703d4b97402
parentcd634f1bfc182e564f33809fdca33027bb99fceb
[media] v4l2: drop V4L2_CHIP_MATCH_SUBDEV_NAME

After using the new VIDIOC_DBG_G_CHIP_NAME ioctl I realized that the matching
by name possibility is useless. Just drop it and rename MATCH_SUBDEV_IDX to
just MATCH_SUBDEV.
The v4l2-dbg utility is much better placed to match by name by just enumerating
all bridge and subdev devices until chip_name.name matches.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-ident.xml
Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml
Documentation/DocBook/media/v4l/vidioc-dbg-g-register.xml
drivers/media/v4l2-core/v4l2-common.c
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h