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: 533716 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC17CC4332F for ; Thu, 20 Jan 2022 15:00:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359701AbiATPAz (ORCPT ); Thu, 20 Jan 2022 10:00:55 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:38903 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344941AbiATPAw (ORCPT ); Thu, 20 Jan 2022 10:00:52 -0500 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 Cc: David Airlie , Daniel Vetter , Rob Herring , Lee Jones , Maarten Lankhorst , Linus Walleij , Bartosz Golaszewski , Maxime Ripard , Thomas Zimmermann , Paul Kocialkowski , Thomas Petazzoni 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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" }, { } };