From patchwork Mon Oct 17 06:50:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 3223 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1303370wrs; Sun, 16 Oct 2022 23:51:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5SSD4KasH4bINT+y7xPgTwwy2l42r9lPwfhpIPF1fKyZDrN7EqsVIgvWMrV+9JDgfvgif7 X-Received: by 2002:a63:ea58:0:b0:45f:ffa9:60a0 with SMTP id l24-20020a63ea58000000b0045fffa960a0mr9479828pgk.433.1665989506634; Sun, 16 Oct 2022 23:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665989506; cv=none; d=google.com; s=arc-20160816; b=zEWf2fcKU/N6bmOynWqsuJHpfGCC2I39IbxofBQlJP0EoYkbpdFc3SjmbCPxZDFN1v nkyigYLx/hq60ZtNU9hAd21NOGGAvwiJlR9FBDLa9RC2Eil7NY04fXf9DeqIH8j/LMWO DcLl9ASoI/D5uGceOJepignBKo33cL5/HQY57DfcAdoFiR0aBI3I6r6O3sLE+sQg2ErG UcWdEfrfR/hQptxMkjKtMMub1eZzBOXikfMywfubn97UClCWaJyEbqgNrdP8sYOLGcEY Um1KdJoeJ2+NeGd3y5n8hDv0Jn6t0smHBLNE2beMorxShHnnzt3xAppa28qij79v0WwO A5vQ== 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=+A3xq098EF4Ogyub3gib25elzDyIF1sKjMUm0aPYBYQ=; b=H8r3ql5PWMGDyxqQu5d+oqZ0XWXdPmEUFA72c7+/HDQx5sx9JDczJmVo6k6CmdVkwo mfp5RnWmFzpGV6dakdaJsP2pYW8/JKth6CP0wiUxSuTDENjgoBeeaBsTl0Gsb20DOemc fzh5BwSVZai6xLxca68hmYo86h+hd6bxgzZe1Z6WMzUyHz75HrhU3+rm1foKaa2ZDS/M Xj8L8fhJrxsOxtopd5gsr/7Z3No4Yss6ANMciJVmilwcH+yu3Yb3cCFDnzGdS5L0Z9a3 q2JfL/jT+nC6+JMsovrW9+r6OuZqKF2IATxDA7TwZE2pXTwMRfLQ5GMgbo0W35owx8TU qnrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Aj9eHr5L; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b0043a20d57b46si11188704pgq.826.2022.10.16.23.51.33; Sun, 16 Oct 2022 23:51:46 -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=Aj9eHr5L; 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 S229984AbiJQGuu (ORCPT + 99 others); Mon, 17 Oct 2022 02:50:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229797AbiJQGun (ORCPT ); Mon, 17 Oct 2022 02:50:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9765154642; Sun, 16 Oct 2022 23:50:42 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 3391660F49; Mon, 17 Oct 2022 06:50:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39FBCC4315F; Mon, 17 Oct 2022 06:50:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665989441; bh=7LiW5IgqW3n+57I2wMozVoRVMIRb4PGmwDMVU0MIa2o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Aj9eHr5LP5XG1yfpEpD47AM0Y0l1ZAlA6GQY5e+lfA5eJDfrOATAcCBzs6vQqyBJl AiVr+r1rGQLOCsEvL+etVPcjNjLFcC+fMMbBEE1u47MEyi6cosGzLHgykNbDzB9ie9 CMZ8ipq8knQvw5ezFz5hPxboAk6Y9JT9uk3EKhzaj9JFt+zTOit6RTH/C8eVRwM29l t+uaIQDpufZhMvYVR2BLWBzFoyqmORve5bCMuWQbVTgYqEcmYWW2Gh81JmcJl/1i5z 5gXZ1fjMxcm892/kguunKB77s8OGeu7ZsSM6SgRMK3V8BIuoctIe7icKwZeryenqJa VKgQLaoGY4iUw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1okJxH-00057v-1b; Mon, 17 Oct 2022 08:50:31 +0200 From: Johan Hovold To: Vinod Koul Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v3 10/11] phy: qcom-qmp-pcie: clean up clock lists Date: Mon, 17 Oct 2022 08:50:12 +0200 Message-Id: <20221017065013.19647-11-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221017065013.19647-1-johan+linaro@kernel.org> References: <20221017065013.19647-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.4 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746916612963068506?= X-GMAIL-MSGID: =?utf-8?q?1746916612963068506?= Keep the clock lists together and sorted by symbol name. Reviewed-by: Dmitry Baryshkov Signed-off-by: Johan Hovold --- drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c index b42c5e185228..cb2128e5a78d 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c @@ -1462,6 +1462,10 @@ static inline void qphy_clrbits(void __iomem *base, u32 offset, u32 val) } /* list of clocks required by phy */ +static const char * const ipq8074_pciephy_clk_l[] = { + "aux", "cfg_ahb", +}; + static const char * const msm8996_phy_clk_l[] = { "aux", "cfg_ahb", "ref", }; @@ -1476,10 +1480,6 @@ static const char * const qmp_phy_vreg_l[] = { "vdda-phy", "vdda-pll", }; -static const char * const ipq8074_pciephy_clk_l[] = { - "aux", "cfg_ahb", -}; - /* list of resets */ static const char * const ipq8074_pciephy_reset_l[] = { "phy", "common",