Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4528204ybp; Mon, 7 Oct 2019 09:45:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGDbj0TP4iuVotqWCD/GdjQJvvZZH2+Pr1XAp3/mYmwhnef9qWrepxAD4QAu/2AgokpXPf X-Received: by 2002:a17:906:454c:: with SMTP id s12mr24538326ejq.69.1570466706169; Mon, 07 Oct 2019 09:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570466706; cv=none; d=google.com; s=arc-20160816; b=wqQn9gR7IDx0+KdIPUoQgw80tc0cuo60StT65WncBSBMTtO1/3vqRgLedM269LgrfJ VXZCf/mFjp2/ZwEVvSCXd/rSnxd/1MR4zmFv0oj6Mtl3FhiGOi3AWzsR2uechgdaXHjg VedNfDgHUnaQjCToJRmyuKAfZ+nEcBlScNX/0grD9RBs949o0iZzvQCFNjxuDSPaCbx0 VaE//1aBi7vsa/aXeO7gw/h4vmmNPFTkaep8cjzzhfzCsR3UiOIVwJ7PYi+DpnZri57X aIDXhX3t2gZabiSn6U2ZtGgOCqVWSjlIxjT90UP/y16XA2rHBphalYKlw0fHhLTaKkzS RIOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vcGbSzQpd1TeTGagYBxvd1qotNo5UEYywORlC/ZOCyk=; b=SIW6s8xu3z1w8zLVs+Iy8Y+UfSkJqd5bCXG5ZL6rJ4AoOKlVOAMkdRPZpAaUdbFevB 2ob+OHZ8YXnxBVa4B+wnuEI9omfuQTWXvz1bLL54KUA3YjYwVssNlXMl4TuoSGqhn2jz lZrNuXSUXgzZSo03fm062lPF1bBeUwbSlNsDMI5/qt+3bJMfXQA2Z6r9Kbqkf3hVW5Iq JF652FwEoDXvuM2gZlEzLWBa5XFE+lRbdrdDXrr//VgfppZCZSYVDVa2pSN/jdKfU6r2 pSNBIf3jr9IiDt4jd7A1lSyFXC4a2rnXg6Mn6emRbhBCz68BLoKVP6I5YZTBcYHqDYx2 5daw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=MLzWT1os; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h19si8217865edv.393.2019.10.07.09.44.42; Mon, 07 Oct 2019 09:45:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=MLzWT1os; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728819AbfJGQlz (ORCPT + 99 others); Mon, 7 Oct 2019 12:41:55 -0400 Received: from mail.andi.de1.cc ([85.214.55.253]:43478 "EHLO mail.andi.de1.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727801AbfJGQly (ORCPT ); Mon, 7 Oct 2019 12:41:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vcGbSzQpd1TeTGagYBxvd1qotNo5UEYywORlC/ZOCyk=; b=MLzWT1osbcLQsxYkuVhd/rxpPR 0bGgrA/3eWQKRd02P+O8Yu0i9tyCdMXzkY4f9GZvYZnA6JqZa+XvFu7jER3oWKHdoQy3xyJA1pMtP azjWe5s6eyzus7uwxGCZJLJfAhRINe8h9qJuvf4ptL0cjTuhn2BkgT0X6ZoxlcG3EfS8=; Received: from p200300ccff0a88001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0a:8800:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHW4t-0000lS-29; Mon, 07 Oct 2019 18:41:43 +0200 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1iHW4s-0008Fy-MJ; Mon, 07 Oct 2019 18:41:42 +0200 From: Andreas Kemnade To: thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, omi Valkeinen , Laurent Pinchart , Discussions about the Letux Kernel , Tony Lindgren , Jyri Sarha , Linux-OMAP , linux-arm-kernel Cc: Andreas Kemnade Subject: [PATCH] drm: panels: fix spi aliases of former omap panels Date: Mon, 7 Oct 2019 18:41:30 +0200 Message-Id: <20191007164130.31534-1-andreas@kemnade.info> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When the panels were moved from omap/displays/ to panel/ omapdss prefix was stripped, which cause spi modalias to not contain the vendor-prefix anymore. so we had e.g. in former times: compatible=omapdss,tpo,td028ttec1 -> modalias=spi:tpo,td028ttec1 now: compatible=tpo,td028ttec1 -> modalias=spi:td028ttec1 This is consistent with other drivers. Tested the td028ttec.c only, but the pattern looks the same for the other ones. Fixes: 45f16c82db7e8 ("drm/omap: displays: Remove unused panel drivers") Signed-off-by: Andreas Kemnade --- drivers/gpu/drm/panel/panel-lg-lb035q02.c | 2 +- drivers/gpu/drm/panel/panel-nec-nl8048hl11.c | 2 +- drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c | 2 +- drivers/gpu/drm/panel/panel-sony-acx565akm.c | 2 +- drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 3 +-- drivers/gpu/drm/panel/panel-tpo-td043mtea1.c | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-lg-lb035q02.c b/drivers/gpu/drm/panel/panel-lg-lb035q02.c index fc82a525b071b..8423684a0557e 100644 --- a/drivers/gpu/drm/panel/panel-lg-lb035q02.c +++ b/drivers/gpu/drm/panel/panel-lg-lb035q02.c @@ -231,7 +231,7 @@ static struct spi_driver lb035q02_driver = { module_spi_driver(lb035q02_driver); -MODULE_ALIAS("spi:lgphilips,lb035q02"); +MODULE_ALIAS("spi:lb035q02"); MODULE_AUTHOR("Tomi Valkeinen "); MODULE_DESCRIPTION("LG.Philips LB035Q02 LCD Panel driver"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/panel/panel-nec-nl8048hl11.c b/drivers/gpu/drm/panel/panel-nec-nl8048hl11.c index 299b217c83e18..71b07ef2a62dd 100644 --- a/drivers/gpu/drm/panel/panel-nec-nl8048hl11.c +++ b/drivers/gpu/drm/panel/panel-nec-nl8048hl11.c @@ -242,7 +242,7 @@ static struct spi_driver nl8048_driver = { module_spi_driver(nl8048_driver); -MODULE_ALIAS("spi:nec,nl8048hl11"); +MODULE_ALIAS("spi:nl8048hl11"); MODULE_AUTHOR("Erik Gilling "); MODULE_DESCRIPTION("NEC-NL8048HL11 Driver"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c b/drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c index 46cd9a2501298..838d39a263f53 100644 --- a/drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c +++ b/drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c @@ -204,7 +204,7 @@ static int ls037v7dw01_remove(struct platform_device *pdev) } static const struct of_device_id ls037v7dw01_of_match[] = { - { .compatible = "sharp,ls037v7dw01", }, + { .compatible = "ls037v7dw01", }, { /* sentinel */ }, }; diff --git a/drivers/gpu/drm/panel/panel-sony-acx565akm.c b/drivers/gpu/drm/panel/panel-sony-acx565akm.c index 305259b587670..a8af9340f89ee 100644 --- a/drivers/gpu/drm/panel/panel-sony-acx565akm.c +++ b/drivers/gpu/drm/panel/panel-sony-acx565akm.c @@ -695,7 +695,7 @@ static struct spi_driver acx565akm_driver = { module_spi_driver(acx565akm_driver); -MODULE_ALIAS("spi:sony,acx565akm"); +MODULE_ALIAS("spi:acx565akm"); MODULE_AUTHOR("Nokia Corporation"); MODULE_DESCRIPTION("Sony ACX565AKM LCD Panel Driver"); MODULE_LICENSE("GPL"); diff --git a/drivers/gpu/drm/panel/panel-tpo-td028ttec1.c b/drivers/gpu/drm/panel/panel-tpo-td028ttec1.c index d7b2e34626efe..3ab66b4d3ea27 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 --git a/drivers/gpu/drm/panel/panel-tpo-td043mtea1.c b/drivers/gpu/drm/panel/panel-tpo-td043mtea1.c index 84370562910ff..7e6cf0890600c 100644 --- a/drivers/gpu/drm/panel/panel-tpo-td043mtea1.c +++ b/drivers/gpu/drm/panel/panel-tpo-td043mtea1.c @@ -503,7 +503,7 @@ static struct spi_driver td043mtea1_driver = { module_spi_driver(td043mtea1_driver); -MODULE_ALIAS("spi:tpo,td043mtea1"); +MODULE_ALIAS("spi:td043mtea1"); MODULE_AUTHOR("GraÅžvydas Ignotas "); MODULE_DESCRIPTION("TPO TD043MTEA1 Panel Driver"); MODULE_LICENSE("GPL"); -- 2.20.1