media: v4l2-subdev.rst: correct information about v4l2 events
authorMichael Rodin <mrodin@de.adit-jv.com>
Wed, 27 May 2020 16:21:32 +0000 (18:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:20:26 +0000 (19:20 +0200)
commit5be5f41dd785a67cf4e1dc07a3454e340a94b2e0
tree06c768085f402a73a36c78f41b5e31eb59623bbd
parentcc8c0363ddce6308168d8223378ca884c213f280
media: v4l2-subdev.rst: correct information about v4l2 events

Remove description of non-existing v4l2_subdev.nevents and replace the
undefined flag V4L2_SUBDEV_USES_EVENTS by the correct flag
V4L2_SUBDEV_FL_HAS_EVENTS, which is already documented in v4l2_subdev.flags

Fixes: commit 02adb1cc765b ("[media] v4l: subdev: Events support")
Signed-off-by: Michael Rodin <mrodin@de.adit-jv.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/driver-api/media/v4l2-subdev.rst