Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp246548imw; Thu, 14 Jul 2022 00:31:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sVbIZsfpR4zcCJhLQpZ48aVxFPuub9NSsF4Upj0skul1Tj9Cvhx2EgHVzcBbIB1bN3wdp8 X-Received: by 2002:a05:6402:1c01:b0:43a:f714:bcbe with SMTP id ck1-20020a0564021c0100b0043af714bcbemr10744846edb.14.1657783901885; Thu, 14 Jul 2022 00:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657783901; cv=none; d=google.com; s=arc-20160816; b=nAALa5oMTl69Ai0fpGRGW301OGYAFfeBamfX3VNx2/GWoK3jbqdGri+dzBd7GrTrv2 lwVyjuFBlSu3voj7raMVvaZktG/jpSrYA1+VhI0ni8jJc6ig2zM/8AKXtmZm9UIx37uw VtHnGg3/j9zU5eJRAQ+rKqXDh3IwWHNhnAe2iQvbm7I00TC9NCXsPKEv/SIinBL5wCUv QVEHV/i6FdcWOxE3KieCmRrahBSKrq7AH+Y+EpCqa55RnOvEKuOLEINwars4yQiKlfwY DmjvXRXGIdpD0b87HmpY/NwyXlDy5lcmIXigHKLEAPxJATGs2SQWtN8BraYfZyaAGtFY LjDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=w6eTlJdjvwo9Bbv10+FqwMmbNrU1WOqASfCt08TJvdw=; b=Pk2k69/x//yJDbmRc9947xGQLaMj3LV6EseGjym+yBUYdoEsV+YOc67aEqMGsyq2AJ U1FVoDwpO3QXF17kK65Gp6GXAVGSavkNxBAGTIsmHqN997LtAMSMB7y+rlRk1hpIlmwN RwwwvR2m90DNWoTHnFih+8yjdjhpCvhLGluzL4zIvAktiQBFp5mpT86A5sjcbswPsGi0 td0feRQahsnU3ZhPOYq3o+qJ9qbGykH0y8izUj44b4gOs1Vk76A3eJ8W9aMdq/JoOGT3 4ayplX0u2DspXzdPOHpioBtS79+Xltj403DGZJHe/mDQv1jJQTtpywCU17G4hqQMjtaY /TCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fIIwMjCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he38-20020a1709073da600b007263068d526si847525ejc.574.2022.07.14.00.31.16; Thu, 14 Jul 2022 00:31:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fIIwMjCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229811AbiGNHOY (ORCPT + 99 others); Thu, 14 Jul 2022 03:14:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236193AbiGNHOG (ORCPT ); Thu, 14 Jul 2022 03:14:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564BB13E36; Thu, 14 Jul 2022 00:14:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D1906B823BD; Thu, 14 Jul 2022 07:14:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E29D4C36B00; Thu, 14 Jul 2022 07:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657782842; bh=KNfjHG2FyJpoLAMCe7DwEz36zNFmsZPwicDQwhgPQhs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fIIwMjCSMERhQcTfJVsldnGWDsqoc2owXtlnCuk6qHvRT1KjwVQwheTgc3yHEbQmg znqftCyEIbhvCP0joIwKkzrO99cYNHl/SDuiAru7h4+4IeLf+ILXS5bZvEKm8WsJOn aq80rXHn81Uw3BH9CJJtDuL/d/H624ziMsJP/QD3SEzS+du3kAUExPJIFD1gwq9a9K 8y/Juos8zxLOWeqBwMMzYOAMD+QbA0K8dUVOo4zloWu2iiLs2eSHEi5PbMuB9ZG71k fyXPi9ZH/3DlBQa8Aey7fDjQodDr4e3CUpQip6ztEDN99qRkU1Smj4DnCoEc9ZDUPR x1N+n8cd2NQiQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oBt30-0001mO-N2; Thu, 14 Jul 2022 09:14:06 +0200 From: Johan Hovold To: Bjorn Helgaas , Stanimir Varbanov , Lorenzo Pieralisi Cc: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Dmitry Baryshkov , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v2 8/8] PCI: qcom: Sort device-id table Date: Thu, 14 Jul 2022 09:13:48 +0200 Message-Id: <20220714071348.6792-9-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220714071348.6792-1-johan+linaro@kernel.org> References: <20220714071348.6792-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sort the device-id table entries alphabetically by compatible string to make it easier to find entries and add new ones. Signed-off-by: Johan Hovold --- drivers/pci/controller/dwc/pcie-qcom.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 8dddb72f8647..fea921cca8fa 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -1749,24 +1749,24 @@ static int qcom_pcie_remove(struct platform_device *pdev) } static const struct of_device_id qcom_pcie_match[] = { + { .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 }, { .compatible = "qcom,pcie-apq8084", .data = &cfg_1_0_0 }, + { .compatible = "qcom,pcie-ipq6018", .data = &cfg_2_9_0 }, { .compatible = "qcom,pcie-ipq8064", .data = &cfg_2_1_0 }, { .compatible = "qcom,pcie-ipq8064-v2", .data = &cfg_2_1_0 }, - { .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 }, - { .compatible = "qcom,pcie-msm8996", .data = &cfg_2_3_2 }, { .compatible = "qcom,pcie-ipq8074", .data = &cfg_2_3_3 }, { .compatible = "qcom,pcie-ipq4019", .data = &cfg_2_4_0 }, + { .compatible = "qcom,pcie-msm8996", .data = &cfg_2_3_2 }, { .compatible = "qcom,pcie-qcs404", .data = &cfg_2_4_0 }, { .compatible = "qcom,pcie-sa8540p", .data = &cfg_1_9_0 }, + { .compatible = "qcom,pcie-sc7280", .data = &cfg_1_9_0 }, + { .compatible = "qcom,pcie-sc8180x", .data = &cfg_1_9_0 }, + { .compatible = "qcom,pcie-sc8280xp", .data = &cfg_1_9_0 }, { .compatible = "qcom,pcie-sdm845", .data = &cfg_2_7_0 }, { .compatible = "qcom,pcie-sm8150", .data = &cfg_1_9_0 }, { .compatible = "qcom,pcie-sm8250", .data = &cfg_1_9_0 }, - { .compatible = "qcom,pcie-sc8180x", .data = &cfg_1_9_0 }, - { .compatible = "qcom,pcie-sc8280xp", .data = &cfg_1_9_0 }, { .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 }, { .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 }, - { .compatible = "qcom,pcie-sc7280", .data = &cfg_1_9_0 }, - { .compatible = "qcom,pcie-ipq6018", .data = &cfg_2_9_0 }, { } }; MODULE_DEVICE_TABLE(of, qcom_pcie_match); -- 2.35.1