diff mbox series

media: v4l2-subdev: Drop outdated comment for v4l2_subdev_pad_config

Message ID 20231023221712.20352-1-laurent.pinchart@ideasonboard.com
State Accepted
Commit 6078b2b803dba5f3fa62f652d931120fc1f0137d
Headers show
Series media: v4l2-subdev: Drop outdated comment for v4l2_subdev_pad_config | expand

Commit Message

Laurent Pinchart Oct. 23, 2023, 10:17 p.m. UTC
The v4l2_subdev_pad_config structure is not passed to subdev operations
anymore. Drop an outdated comment to refers to that old mechanism.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 include/media/v4l2-subdev.h | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index bb1aad264756..bbcee4f3da1e 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -691,10 +691,6 @@  struct v4l2_subdev_ir_ops {
  * @format: &struct v4l2_mbus_framefmt
  * @crop: &struct v4l2_rect to be used for crop
  * @compose: &struct v4l2_rect to be used for compose
- *
- * This structure only needs to be passed to the pad op if the 'which' field
- * of the main argument is set to %V4L2_SUBDEV_FORMAT_TRY. For
- * %V4L2_SUBDEV_FORMAT_ACTIVE it is safe to pass %NULL.
  */
 struct v4l2_subdev_pad_config {
 	struct v4l2_mbus_framefmt format;