public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: panel: simple-panel: remove useless drm_mode_set_name
@ 2015-04-30 14:38 Boris Brezillon
  2015-05-28 14:26 ` Boris Brezillon
  2016-04-18  7:11 ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Boris Brezillon @ 2015-04-30 14:38 UTC (permalink / raw)
  To: Thierry Reding, dri-devel; +Cc: David Airlie, linux-kernel, Boris Brezillon

drm_display_mode_from_videomode() is already calling drm_mode_set_name() on
the provided mode.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 30904a9..d14b904 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -112,7 +112,6 @@ static int panel_simple_get_fixed_modes(struct panel_simple *panel)
 		}
 
 		drm_display_mode_from_videomode(&vm, mode);
-		drm_mode_set_name(mode);
 
 		drm_mode_probed_add(connector, mode);
 		num++;
-- 
1.9.1


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

* Re: [PATCH] drm: panel: simple-panel: remove useless drm_mode_set_name
  2015-04-30 14:38 [PATCH] drm: panel: simple-panel: remove useless drm_mode_set_name Boris Brezillon
@ 2015-05-28 14:26 ` Boris Brezillon
  2016-04-18  7:11 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2015-05-28 14:26 UTC (permalink / raw)
  To: Boris Brezillon; +Cc: Thierry Reding, dri-devel, David Airlie, linux-kernel

On Thu, 30 Apr 2015 16:38:36 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:

> drm_display_mode_from_videomode() is already calling drm_mode_set_name() on
> the provided mode.

ping

> 
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 30904a9..d14b904 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -112,7 +112,6 @@ static int panel_simple_get_fixed_modes(struct panel_simple *panel)
>  		}
>  
>  		drm_display_mode_from_videomode(&vm, mode);
> -		drm_mode_set_name(mode);
>  
>  		drm_mode_probed_add(connector, mode);
>  		num++;



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* Re: [PATCH] drm: panel: simple-panel: remove useless drm_mode_set_name
  2015-04-30 14:38 [PATCH] drm: panel: simple-panel: remove useless drm_mode_set_name Boris Brezillon
  2015-05-28 14:26 ` Boris Brezillon
@ 2016-04-18  7:11 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2016-04-18  7:11 UTC (permalink / raw)
  To: Boris Brezillon; +Cc: dri-devel, David Airlie, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

On Thu, Apr 30, 2015 at 04:38:36PM +0200, Boris Brezillon wrote:
> drm_display_mode_from_videomode() is already calling drm_mode_set_name() on
> the provided mode.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, with a slightly reworded commit message.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2016-04-18  7:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-30 14:38 [PATCH] drm: panel: simple-panel: remove useless drm_mode_set_name Boris Brezillon
2015-05-28 14:26 ` Boris Brezillon
2016-04-18  7:11 ` Thierry Reding

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