From patchwork Mon Jan 10 01:50:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 12708124 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49C09C433F5 for ; Mon, 10 Jan 2022 02:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qrhV7I2xmrGMFJR5xR3eScBpr6UpE3mgBMu27Y5l3B4=; b=PJ4VHeLw2RgRd/ LntMnS4sYxNbDVn+edn9TlXHGkO/DlxFjMOEx/idEtnQN/gYOutkbq3xv32hknywynh5VY1B/sAtG Ayy0741OA2iZJg3YW4VE2x58maESrC9ybAYZEWmkw1qgSt+bhve6pv2HzfJ+t3feJBOxpH+yV6TUi qS5inPCtdbvDQbl6gRxYvRi2vV5HIpqSVzHzXF13Y2bAmwRmFFNfjhOrQo6gDwFqWz5Qt/xoDwhna iNXJoPz42Zh47c1UOi9RtKAUykZSFLe9lZZXXOmEuMrKQru8jGD0nRQlRsJaN5qnfDIYevRFzTlFo lvjIJqQkduptciulbQEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6k1W-008sR5-40; Mon, 10 Jan 2022 02:03:02 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6jpz-008lrH-Gi for linux-arm-kernel@lists.infradead.org; Mon, 10 Jan 2022 01:51:09 +0000 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 121CB60F83; Mon, 10 Jan 2022 01:51:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45F30C36B09; Mon, 10 Jan 2022 01:51:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1641779466; bh=U+5gdDzhlq4s8L5qxgT0t0ey+4zJ/M0bpWaixeVoTGQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UXtckyPnqxgD5x3fOSy28F8c5KEB4k4p9xyd7pNqJ++H6qoTGMhBLE1KQDwP3Qw7e Kujb4g/LGEDueEohCnx0OYZCW18fq96aR8T6wZBszjmMil+7oAgHie7SFhO9J/I6M1 A/E7dUR5SedweRQWLgiXWv5MVsiajpQNFhw/IbC5ctB+NurrFOWE5jSH/YYdIcLhXl /CiRP7UKXaWUmHXMGFzUFOMEEEHjT0+QnnkWf/G8085LZINvcGDNMiBkyD1BfcoBlG TXsN5+Duk+ys253agg+7uosktiw6Q1WIe42Ll7HAl52OxqY3BQS6nXYp5EnrySwusk YyC+jvi23SX5g== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Marc Zyngier , Lorenzo Pieralisi , Bjorn Helgaas Cc: pali@kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH v2 21/23] PCI: aardvark: Drop __maybe_unused from advk_pcie_disable_phy() Date: Mon, 10 Jan 2022 02:50:16 +0100 Message-Id: <20220110015018.26359-22-kabel@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220110015018.26359-1-kabel@kernel.org> References: <20220110015018.26359-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220109_175107_636258_5DE7DAB4 X-CRM114-Status: GOOD ( 12.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This function is now always used in driver remove method, drop the __maybe_unused attribute. Signed-off-by: Marek BehĂșn --- drivers/pci/controller/pci-aardvark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c index 0e3dcd584f7e..360e2e3b3aa6 100644 --- a/drivers/pci/controller/pci-aardvark.c +++ b/drivers/pci/controller/pci-aardvark.c @@ -1612,7 +1612,7 @@ static int advk_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) return of_irq_parse_and_map_pci(dev, slot, pin); } -static void __maybe_unused advk_pcie_disable_phy(struct advk_pcie *pcie) +static void advk_pcie_disable_phy(struct advk_pcie *pcie) { phy_power_off(pcie->phy); phy_exit(pcie->phy);