dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] video: fbdev: pxa168fb: remove unnecessary platform_get_irq
@ 2020-01-17  3:22 ` YueHaibing
  2020-03-02 15:41   ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-01-17  3:22 UTC (permalink / raw)
  To: b.zolnierkie, yuehaibing, arnd, daniel.vetter,
	christophe.jaillet, jani.nikula, hslester96
  Cc: linux-fbdev, linux-kernel, dri-devel

commit 640ba2444fa9 ("drivers/video/pxa168fb.c: use devm_ functions")
left behind this, it can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/video/fbdev/pxa168fb.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c
index 706c6943..aef8a30 100644
--- a/drivers/video/fbdev/pxa168fb.c
+++ b/drivers/video/fbdev/pxa168fb.c
@@ -779,7 +779,6 @@ static int pxa168fb_remove(struct platform_device *pdev)
 {
 	struct pxa168fb_info *fbi = platform_get_drvdata(pdev);
 	struct fb_info *info;
-	int irq;
 	unsigned int data;
 
 	if (!fbi)
@@ -799,8 +798,6 @@ static int pxa168fb_remove(struct platform_device *pdev)
 	if (info->cmap.len)
 		fb_dealloc_cmap(&info->cmap);
 
-	irq = platform_get_irq(pdev, 0);
-
 	dma_free_wc(fbi->dev, info->fix.smem_len,
 		    info->screen_base, info->fix.smem_start);
 
-- 
2.7.4


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH -next] video: fbdev: pxa168fb: remove unnecessary platform_get_irq
  2020-01-17  3:22 ` [PATCH -next] video: fbdev: pxa168fb: remove unnecessary platform_get_irq YueHaibing
@ 2020-03-02 15:41   ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2020-03-02 15:41 UTC (permalink / raw)
  To: YueHaibing
  Cc: linux-fbdev, arnd, jani.nikula, daniel.vetter, hslester96,
	linux-kernel, dri-devel, christophe.jaillet


On 1/17/20 4:22 AM, YueHaibing wrote:
> commit 640ba2444fa9 ("drivers/video/pxa168fb.c: use devm_ functions")
> left behind this, it can be removed.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Patch queued for v5.7, thanks.
 
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

> ---
>  drivers/video/fbdev/pxa168fb.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c
> index 706c6943..aef8a30 100644
> --- a/drivers/video/fbdev/pxa168fb.c
> +++ b/drivers/video/fbdev/pxa168fb.c
> @@ -779,7 +779,6 @@ static int pxa168fb_remove(struct platform_device *pdev)
>  {
>  	struct pxa168fb_info *fbi = platform_get_drvdata(pdev);
>  	struct fb_info *info;
> -	int irq;
>  	unsigned int data;
>  
>  	if (!fbi)
> @@ -799,8 +798,6 @@ static int pxa168fb_remove(struct platform_device *pdev)
>  	if (info->cmap.len)
>  		fb_dealloc_cmap(&info->cmap);
>  
> -	irq = platform_get_irq(pdev, 0);
> -
>  	dma_free_wc(fbi->dev, info->fix.smem_len,
>  		    info->screen_base, info->fix.smem_start);
>  

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-03-02 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200117032301eucas1p29817dfa06b4140d9e30634cf0052a5dd@eucas1p2.samsung.com>
2020-01-17  3:22 ` [PATCH -next] video: fbdev: pxa168fb: remove unnecessary platform_get_irq YueHaibing
2020-03-02 15:41   ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).