Re: [PATCH v5 2/2] drm/panel: Add support for Raydium RM67191 panel driver

From: Sam Ravnborg
Date: Wed Jun 26 2019 - 07:33:15 EST


Hi Robert.

On Wed, Jun 26, 2019 at 01:20:20PM +0300, Robert Chiras wrote:
> This patch adds Raydium RM67191 TFT LCD panel driver (MIPI-DSI
> protocol).

I was about to apply these - but I get following warnings during build:
CC drivers/gpu/drm/panel/panel-raydium-rm67191.o
/home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c: In function ârad_bl_get_brightnessâ:
/home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c:470:17: warning: unused variable âdevâ [-Wunused-variable]
struct device *dev = &dsi->dev;
^~~
/home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c: In function ârad_bl_update_statusâ:
/home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c:492:17: warning: unused variable âdevâ [-Wunused-variable]
struct device *dev = &dsi->dev;
^~~

Please fix and update your scripts to catch this in the future.

Sam