public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] media: Remove incorrect comment from struct v4l2_fwnode_endpoint
@ 2022-09-05 12:37 Sakari Ailus
  2022-09-05 19:28 ` Laurent Pinchart
  0 siblings, 1 reply; 2+ messages in thread
From: Sakari Ailus @ 2022-09-05 12:37 UTC (permalink / raw)
  To: linux-media; +Cc: laurent.pinchart

struct v4l2_fwnode_endpoint was zeroed previously apart from the endpoint
information itself when the endpoint properties were parsed. Now this
hasn't been the case for a few years so remove the comment.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 include/media/v4l2-fwnode.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/media/v4l2-fwnode.h b/include/media/v4l2-fwnode.h
index 15e4ab6722232..394d798f3dfa4 100644
--- a/include/media/v4l2-fwnode.h
+++ b/include/media/v4l2-fwnode.h
@@ -45,10 +45,6 @@ struct v4l2_async_subdev;
  */
 struct v4l2_fwnode_endpoint {
 	struct fwnode_endpoint base;
-	/*
-	 * Fields below this line will be zeroed by
-	 * v4l2_fwnode_endpoint_parse()
-	 */
 	enum v4l2_mbus_type bus_type;
 	struct {
 		struct v4l2_mbus_config_parallel parallel;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] media: Remove incorrect comment from struct v4l2_fwnode_endpoint
  2022-09-05 12:37 [PATCH 1/1] media: Remove incorrect comment from struct v4l2_fwnode_endpoint Sakari Ailus
@ 2022-09-05 19:28 ` Laurent Pinchart
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2022-09-05 19:28 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: linux-media

Hi Sakari,

Thank you for the patch.

On Mon, Sep 05, 2022 at 03:37:12PM +0300, Sakari Ailus wrote:
> struct v4l2_fwnode_endpoint was zeroed previously apart from the endpoint
> information itself when the endpoint properties were parsed. Now this
> hasn't been the case for a few years so remove the comment.
> 
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

> ---
>  include/media/v4l2-fwnode.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/include/media/v4l2-fwnode.h b/include/media/v4l2-fwnode.h
> index 15e4ab6722232..394d798f3dfa4 100644
> --- a/include/media/v4l2-fwnode.h
> +++ b/include/media/v4l2-fwnode.h
> @@ -45,10 +45,6 @@ struct v4l2_async_subdev;
>   */
>  struct v4l2_fwnode_endpoint {
>  	struct fwnode_endpoint base;
> -	/*
> -	 * Fields below this line will be zeroed by
> -	 * v4l2_fwnode_endpoint_parse()
> -	 */
>  	enum v4l2_mbus_type bus_type;
>  	struct {
>  		struct v4l2_mbus_config_parallel parallel;

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-05 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05 12:37 [PATCH 1/1] media: Remove incorrect comment from struct v4l2_fwnode_endpoint Sakari Ailus
2022-09-05 19:28 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox