From patchwork Fri Dec 9 10:50:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9467855 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CE66B60231 for ; Fri, 9 Dec 2016 10:51:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4195285C7 for ; Fri, 9 Dec 2016 10:51:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8E2A285D5; Fri, 9 Dec 2016 10:51:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D9D3285C7 for ; Fri, 9 Dec 2016 10:51:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933084AbcLIKvY (ORCPT ); Fri, 9 Dec 2016 05:51:24 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:52639 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932949AbcLIKvK (ORCPT ); Fri, 9 Dec 2016 05:51:10 -0500 Received: from penelope.kanocho.kobe.vergenet.net (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPSA id 64D6025B820; Fri, 9 Dec 2016 21:50:57 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1481280657; bh=ma8VtxRcZqoQK6hWrDtfyJbq/A8D4rSBoICEIpG3Wc8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M8Ssyhg8FtQ7pp4Cy6YTho9EvMnf2tUIYcyQHZPQOSBlV5uRd/MpBqsiUcCV7X7ZV yDNWkpbodeu6ktfbNJ1Eu5A/mUDeWKkXmEPhieYcsIYP7JFXD+PCjAQSXHppFpcoRP O7qAFcG20mD59zyU4/BiIDJDnqtvkUO9osNTM/fo= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id D2BF76063D; Fri, 9 Dec 2016 11:50:53 +0100 (CET) From: Simon Horman To: Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: Rob Herring , Magnus Damm , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Simon Horman Subject: [PATCH 1/2] irqchip/renesas-intc-irqpin: List fallback compatibility last Date: Fri, 9 Dec 2016 11:50:49 +0100 Message-Id: <1481280650-9258-2-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 In-Reply-To: <1481280650-9258-1-git-send-email-horms+renesas@verge.net.au> References: <1481280650-9258-1-git-send-email-horms+renesas@verge.net.au> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Improve readability by listing the rmobile fallback compatibility string after the more-specific compatibility strings they provide a fallback for. This does not effect run-time behaviour as it is the order in the DTB that determines which compatibility string is used. Signed-off-by: Simon Horman --- drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-renesas-intc-irqpin.c b/drivers/irqchip/irq-renesas-intc-irqpin.c index 713177d97c7a..5fe1207a079c 100644 --- a/drivers/irqchip/irq-renesas-intc-irqpin.c +++ b/drivers/irqchip/irq-renesas-intc-irqpin.c @@ -374,7 +374,6 @@ static const struct intc_irqpin_config intc_irqpin_rmobile = { }; static const struct of_device_id intc_irqpin_dt_ids[] = { - { .compatible = "renesas,intc-irqpin", }, { .compatible = "renesas,intc-irqpin-r8a7778", .data = &intc_irqpin_irlm_r8a777x }, { .compatible = "renesas,intc-irqpin-r8a7779", @@ -383,6 +382,7 @@ static const struct of_device_id intc_irqpin_dt_ids[] = { .data = &intc_irqpin_rmobile }, { .compatible = "renesas,intc-irqpin-sh73a0", .data = &intc_irqpin_rmobile }, + { .compatible = "renesas,intc-irqpin", }, {}, }; MODULE_DEVICE_TABLE(of, intc_irqpin_dt_ids);