Re: [PATCH] drm/panel: newvision-nv3052c: Fix build

2022-04-18 Thread Dave Airlie
On Mon, 18 Apr 2022 at 17:07, Sam Ravnborg  wrote:
>
> On Sat, Apr 09, 2022 at 11:00:16AM +0100, Paul Cercueil wrote:
> > The driver was compile-tested then rebased on drm-misc-next, and not
> > compile-tested after the rebase; unfortunately the driver didn't compile
> > anymore when it hit drm-misc-next.
> >
> > Fixes: 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C 
> > based LCDs")
> > Cc: Christophe Branchereau 
> > Cc: kbuild-all 
> > Cc: Stephen Rothwell 
> > Reported-by: kernel test robot 
> > Signed-off-by: Paul Cercueil 
> Acked-by: Sam Ravnborg 
> > ---

Backmerge drm-next. I fixed this up when I merged this driver in the
merge commit.

Dave.


Re: [PATCH] drm/panel: newvision-nv3052c: Fix build

2022-04-18 Thread Sam Ravnborg
On Sat, Apr 09, 2022 at 11:00:16AM +0100, Paul Cercueil wrote:
> The driver was compile-tested then rebased on drm-misc-next, and not
> compile-tested after the rebase; unfortunately the driver didn't compile
> anymore when it hit drm-misc-next.
> 
> Fixes: 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C based 
> LCDs")
> Cc: Christophe Branchereau 
> Cc: kbuild-all 
> Cc: Stephen Rothwell 
> Reported-by: kernel test robot 
> Signed-off-by: Paul Cercueil 
Acked-by: Sam Ravnborg 
> ---
>  drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c 
> b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
> index 127bcfdb59df..cf078f0d3cd3 100644
> --- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
> +++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
> @@ -416,15 +416,13 @@ static int nv3052c_probe(struct spi_device *spi)
>   return 0;
>  }
>  
> -static int nv3052c_remove(struct spi_device *spi)
> +static void nv3052c_remove(struct spi_device *spi)
>  {
>   struct nv3052c *priv = spi_get_drvdata(spi);
>  
>   drm_panel_remove(>panel);
>   drm_panel_disable(>panel);
>   drm_panel_unprepare(>panel);
> -
> - return 0;
>  }
>  
>  static const struct drm_display_mode ltk035c5444t_modes[] = {
> -- 
> 2.35.1


[PATCH] drm/panel: newvision-nv3052c: Fix build

2022-04-09 Thread Paul Cercueil
The driver was compile-tested then rebased on drm-misc-next, and not
compile-tested after the rebase; unfortunately the driver didn't compile
anymore when it hit drm-misc-next.

Fixes: 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C based 
LCDs")
Cc: Christophe Branchereau 
Cc: kbuild-all 
Cc: Stephen Rothwell 
Reported-by: kernel test robot 
Signed-off-by: Paul Cercueil 
---
 drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c 
b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
index 127bcfdb59df..cf078f0d3cd3 100644
--- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
+++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
@@ -416,15 +416,13 @@ static int nv3052c_probe(struct spi_device *spi)
return 0;
 }
 
-static int nv3052c_remove(struct spi_device *spi)
+static void nv3052c_remove(struct spi_device *spi)
 {
struct nv3052c *priv = spi_get_drvdata(spi);
 
drm_panel_remove(>panel);
drm_panel_disable(>panel);
drm_panel_unprepare(>panel);
-
-   return 0;
 }
 
 static const struct drm_display_mode ltk035c5444t_modes[] = {
-- 
2.35.1