[PATCH v2 14/60] drm/omap: dss: Rename omap_dss_device list field to output_list

Sebastian Reichel sre at kernel.org
Sun Jun 10 18:55:59 UTC 2018


Hi,

On Sat, May 26, 2018 at 08:24:32PM +0300, Laurent Pinchart wrote:
> For coherency with the panel_list field, rename list to output_list.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---

Reviewed-by: Sebastian Reichel <sebastian.reichel at collabora.co.uk>

-- Sebastian

>  drivers/gpu/drm/omapdrm/dss/omapdss.h |  2 +-
>  drivers/gpu/drm/omapdrm/dss/output.c  | 10 +++++-----
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
> index 39e2906fd5fe..abf101bb27ea 100644
> --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
> +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
> @@ -481,7 +481,7 @@ struct omap_dss_device {
>  
>  	/* OMAP DSS output specific fields */
>  
> -	struct list_head list;
> +	struct list_head output_list;
>  
>  	/* DISPC channel for this output */
>  	enum omap_channel dispc_channel;
> diff --git a/drivers/gpu/drm/omapdrm/dss/output.c b/drivers/gpu/drm/omapdrm/dss/output.c
> index 96b9d4cd505f..0fcd13ea8824 100644
> --- a/drivers/gpu/drm/omapdrm/dss/output.c
> +++ b/drivers/gpu/drm/omapdrm/dss/output.c
> @@ -96,14 +96,14 @@ EXPORT_SYMBOL(omapdss_output_unset_device);
>  
>  int omapdss_register_output(struct omap_dss_device *out)
>  {
> -	list_add_tail(&out->list, &output_list);
> +	list_add_tail(&out->output_list, &output_list);
>  	return 0;
>  }
>  EXPORT_SYMBOL(omapdss_register_output);
>  
>  void omapdss_unregister_output(struct omap_dss_device *out)
>  {
> -	list_del(&out->list);
> +	list_del(&out->output_list);
>  }
>  EXPORT_SYMBOL(omapdss_unregister_output);
>  
> @@ -111,7 +111,7 @@ bool omapdss_component_is_output(struct device_node *node)
>  {
>  	struct omap_dss_device *out;
>  
> -	list_for_each_entry(out, &output_list, list) {
> +	list_for_each_entry(out, &output_list, output_list) {
>  		if (out->dev->of_node == node)
>  			return true;
>  	}
> @@ -124,7 +124,7 @@ struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id)
>  {
>  	struct omap_dss_device *out;
>  
> -	list_for_each_entry(out, &output_list, list) {
> +	list_for_each_entry(out, &output_list, output_list) {
>  		if (out->id == id)
>  			return out;
>  	}
> @@ -145,7 +145,7 @@ struct omap_dss_device *omap_dss_find_output_by_port_node(struct device_node *po
>  
>  	reg = dss_of_port_get_port_number(port);
>  
> -	list_for_each_entry(out, &output_list, list) {
> +	list_for_each_entry(out, &output_list, output_list) {
>  		if (out->dev->of_node == src_node && out->port_num == reg) {
>  			of_node_put(src_node);
>  			return omap_dss_get_device(out);
> -- 
> Regards,
> 
> Laurent Pinchart
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180610/25510518/attachment-0001.sig>


More information about the dri-devel mailing list