From patchwork Thu Jan 20 15:00:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12718769 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E181C433F5 for ; Thu, 20 Jan 2022 15:11:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1857F10E3AE; Thu, 20 Jan 2022 15:11:38 +0000 (UTC) Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) by gabe.freedesktop.org (Postfix) with ESMTPS id B491210E3AF for ; Thu, 20 Jan 2022 15:11:36 +0000 (UTC) Received: from relay12.mail.gandi.net (unknown [217.70.178.232]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 3CE22D0410 for ; Thu, 20 Jan 2022 15:00:55 +0000 (UTC) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id A6ABA200027; Thu, 20 Jan 2022 15:00:50 +0000 (UTC) From: Paul Kocialkowski To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v10 3/6] gpio: logicvc: Support compatible with major version only Date: Thu, 20 Jan 2022 16:00:21 +0100 Message-Id: <20220120150024.646714-4-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220120150024.646714-1-paul.kocialkowski@bootlin.com> References: <20220120150024.646714-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , David Airlie , Thomas Petazzoni , Paul Kocialkowski , Rob Herring , Lee Jones , Bartosz Golaszewski Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Support the newly-introduced common compatible for version 3. Signed-off-by: Paul Kocialkowski Reviewed-by: Linus Walleij --- drivers/gpio/gpio-logicvc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-logicvc.c b/drivers/gpio/gpio-logicvc.c index 992cc958a43f..9b27343f5242 100644 --- a/drivers/gpio/gpio-logicvc.c +++ b/drivers/gpio/gpio-logicvc.c @@ -145,9 +145,8 @@ static int logicvc_gpio_probe(struct platform_device *pdev) } static const struct of_device_id logicivc_gpio_of_table[] = { - { - .compatible = "xylon,logicvc-3.02.a-gpio", - }, + { .compatible = "xylon,logicvc-3.02.a-gpio" }, + { .compatible = "xylon,logicvc-3-gpio" }, { } };