Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp805888rwb; Wed, 28 Sep 2022 09:17:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7g9l7VolyrsqqKQkSMFnT3D59F6YC6XOe8K0BFA6xx/il79ASfXwFCl6jYni95QOd2BdeV X-Received: by 2002:a05:6402:94f:b0:457:caa8:457 with SMTP id h15-20020a056402094f00b00457caa80457mr7842347edz.25.1664381861002; Wed, 28 Sep 2022 09:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664381860; cv=none; d=google.com; s=arc-20160816; b=L3uInOXi38uZ0mwueRFTXaWpxkZc6e7s9wnc33GMXpvaB3eQDHP5g22Jg2BN+iRO2k rSjrrqUXxctGCZ01zMY8o3iP4nXkdyIG/MgjbrM/PajseUObIrCYcar4GiboNx9TryBI 7lA/Hbk/COBsNvixuF1FtHFA4k/dn+xMnVCzFhwnxpfysP6YQkifecANL1HSTR8LqlXN dPmyk14VYfto9Ci52okx2zEFjMT1AbbBHLX2xSeFyA8bETn2yFOGSjobVmi6eOr8YuVw lbGEWZ3xlQLntgwMhCtKEv7dAslif6t5CZnn+7ReUyypvZz4oKPInVh9M8NpGGoj8XEU GvCw== 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=cWNYIAjLC/HJcl4dSqcY2c7IMCXk+Jl+wTPanMqaPEo=; b=ceXeKt40mdBJmuUcCYw/yc+396Rk55oTGZ1M5FMbOPKHNxbQSw38DGvHJtMFYmfKew hbXVB5UsdUw83ZlmqQYKsW4C7XOlRuPqBGM/+eA8P/LDiXnACD5Z46SFjM9Ob3WvAkcU IqL68lFjbWKO0Ta0uEfr2dCucZ2YODno2aMSLi1IHKW+wmqMv+5JCwnQK8L1WGMnvWGo fvmhAwbxCiJh8arChHG7RhFN+okfNQD2YVhibc6UDYPly7c30zXPxjebTVWgrg69nxe2 XnofMh6uQ/dx9iGo9DfEeis65/S04exlcV8uLJnV7Y8vw8OMsfyWghvGfRBAsNEfRIxj Pz7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s8gBCOaI; 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 dd11-20020a1709069b8b00b00782faf12c6esi5868157ejc.78.2022.09.28.09.17.08; Wed, 28 Sep 2022 09:17:40 -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=s8gBCOaI; 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 S234197AbiI1PzW (ORCPT + 99 others); Wed, 28 Sep 2022 11:55:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234141AbiI1PzO (ORCPT ); Wed, 28 Sep 2022 11:55:14 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB6958768C; Wed, 28 Sep 2022 08:55:10 -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 sin.source.kernel.org (Postfix) with ESMTPS id ABD52CE1EE1; Wed, 28 Sep 2022 15:55:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E1E5C433D7; Wed, 28 Sep 2022 15:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664380506; bh=snbCPFGK77lLhaoBKaG+W4txsXWhqgoJg/DwQu1/7Wo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s8gBCOaI21XKWOE/s/fW03R9iL7ZdL05MNVEePYa0Bu9sb9edsJyjOsG+WD3Q8oAH mk7LycDvNYKwN2ezN4MygIzEOhcmdD01tmdawLuQS+Z7c9cNY0rzXomGLCMuyHDwj0 yZIzc8qMP/ukh/Bqd5oKx1oSawGLeWnfsaCIRAmDl6CH/e9kh1Dhtqj6zKnivZKtuU lUeyHL3kbgLY0IHT2XrkhTibqho+K9WFL41SvthXCSRfLeqTK9PuDzes4e/cXXOzup WCuOCZmot2KMFROEp2H/mUK06Wwa4WHrZwy9qB1TvDe1/v9VXX5onvtRv7aHt+4qTK CFCQe5hJugzGg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1odZOy-0005e8-Q2; Wed, 28 Sep 2022 17:55:12 +0200 From: Johan Hovold To: Lorenzo Pieralisi , Stanimir Varbanov Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v3 1/2] PCI: qcom: Drop unused post_deinit callback Date: Wed, 28 Sep 2022 17:54:20 +0200 Message-Id: <20220928155421.21660-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220928155421.21660-1-johan+linaro@kernel.org> References: <20220928155421.21660-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 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 Drop the unused and confusingly named post_deinit callback that was added for the now removed pipe clock handling. If ever needed we can add back a callback named pre_deinit (or perhaps rather pre_phy_power_off) instead. Signed-off-by: Johan Hovold --- drivers/pci/controller/dwc/pcie-qcom.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 39ca06ffe614..8d6df0db4ebb 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -208,7 +208,6 @@ struct qcom_pcie_ops { int (*init)(struct qcom_pcie *pcie); int (*post_init)(struct qcom_pcie *pcie); void (*deinit)(struct qcom_pcie *pcie); - void (*post_deinit)(struct qcom_pcie *pcie); void (*ltssm_enable)(struct qcom_pcie *pcie); int (*config_sid)(struct qcom_pcie *pcie); }; @@ -1520,8 +1519,6 @@ static int qcom_pcie_host_init(struct dw_pcie_rp *pp) err: qcom_ep_reset_assert(pcie); - if (pcie->cfg->ops->post_deinit) - pcie->cfg->ops->post_deinit(pcie); err_disable_phy: phy_power_off(pcie->phy); err_deinit: -- 2.35.1