diff mbox series

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

Message ID 20191007170801.27647-5-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series Fix SPI module alias for panels used by omapdrm | expand

Commit Message

Laurent Pinchart Oct. 7, 2019, 5:08 p.m. UTC
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@goldelico.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Andreas Kemnade Oct. 7, 2019, 5:58 p.m. UTC | #1
On Mon,  7 Oct 2019 20:08:00 +0300
Laurent Pinchart <laurent.pinchart@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@goldelico.com>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Tested-by: Andreas Kemnade <andreas@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 */ }
>  };
>
H. Nikolaus Schaller Oct. 7, 2019, 7:33 p.m. UTC | #2
> Am 07.10.2019 um 19:58 schrieb Andreas Kemnade <andreas@kemnade.info>:
> 
> On Mon,  7 Oct 2019 20:08:00 +0300
> Laurent Pinchart <laurent.pinchart@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@goldelico.com>
>> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 
> Tested-by: Andreas Kemnade <andreas@kemnade.info>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
> 
>> ---
>> 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 */ }
>> };
>> 
>
diff mbox series

Patch

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 */ }
 };