[Letux-kernel] [PATCH 4/5] drm/panel: tpo-td028ttec1: Fix SPI alias

Andreas Kemnade andreas at kemnade.info
Mon Oct 7 19:58:49 CEST 2019


On Mon,  7 Oct 2019 20:08:00 +0300
Laurent Pinchart <laurent.pinchart at ideasonboard.com> wrote:

> The panel-tpo-td028ttec1 driver incorrectly includes the OF vendor
> prefix in its SPI alias. Fix it.
> 
> Fixes: 415b8dd08711 ("drm/panel: Add driver for the Toppoly TD028TTEC1 panel")
> Reported-by: H. Nikolaus Schaller <hns at goldelico.com>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Tested-by: Andreas Kemnade <andreas at kemnade.info>

> ---
>  drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-tpo-td028ttec1.c b/drivers/gpu/drm/panel/panel-tpo-td028ttec1.c
> index d7b2e34626ef..f2baff827f50 100644
> --- a/drivers/gpu/drm/panel/panel-tpo-td028ttec1.c
> +++ b/drivers/gpu/drm/panel/panel-tpo-td028ttec1.c
> @@ -375,8 +375,7 @@ static const struct of_device_id td028ttec1_of_match[] = {
>  MODULE_DEVICE_TABLE(of, td028ttec1_of_match);
>  
>  static const struct spi_device_id td028ttec1_ids[] = {
> -	{ "tpo,td028ttec1", 0},
> -	{ "toppoly,td028ttec1", 0 },
> +	{ "td028ttec1", 0 },
>  	{ /* sentinel */ }
>  };
>  



More information about the Letux-kernel mailing list