Skip to content

Commit 0c36ab4

Browse files
elkabloLorenzo Pieralisi
authored andcommitted
PCI: aardvark: Drop __maybe_unused from advk_pcie_disable_phy()
This function is now always used in driver remove method, drop the __maybe_unused attribute. Link: https://lore.kernel.org/r/20220110015018.26359-22-kabel@kernel.org Signed-off-by: Marek Behún <kabel@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1 parent befa710 commit 0c36ab4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pci/controller/pci-aardvark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ static int advk_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
16031603
return of_irq_parse_and_map_pci(dev, slot, pin);
16041604
}
16051605

1606-
static void __maybe_unused advk_pcie_disable_phy(struct advk_pcie *pcie)
1606+
static void advk_pcie_disable_phy(struct advk_pcie *pcie)
16071607
{
16081608
phy_power_off(pcie->phy);
16091609
phy_exit(pcie->phy);

0 commit comments

Comments
 (0)