bcma: drop unneeded check for CONFIG_OF_IRQ
Rafał Miłecki
maintainerPATCH 1/1 bcma: drop unneeded check for CONFIG_OF_IRQ
From: Rafał Miłecki <[email protected]>
We already have the same check in bcma_of_get_irq which really calls symbols available with CONFIG_OF_IRQ only. It appears this duplicated check was accidentally added in commit c58d900cc96a ("bcma: fix building without OF_IRQ"). The rest of code in bcma_of_fill_device should work fine without CONFIG_OF_IRQ.
--- drivers/bcma/main.c | 3 --- 1 file changed, 3 deletions(-)
drivers/bcma/main.c +0 -3
@@ -201,9 +201,6 @@ static void bcma_of_fill_device(struct device *parent, {struct device_node *node; -if (!IS_ENABLED (CONFIG_OF_IRQ )) -return ; - node =bcma_of_find_child_device (parent, core);if (node) core->dev.of_node = node;
Signature · 1 line
2.11.0
Quoted 9 lines · On Fri, Mar 3, 2017 at 11:33 AM, Rafa=C5=82 Mi=C5=82ecki <[email protected]>=…
From: Rafa=C5=82 Mi=C5=82ecki <[email protected]>
We already have the same check in
bcma_of_get_irqwhich really calls symbols available withCONFIG_OF_IRQonly. It appears this duplicated check was accidentally added in commitc58d900cc96a("bcma: fix building withoutOF_IRQ"). The rest of code inbcma_of_fill_deviceshould work fine withoutCONFIG_OF_IRQ.Signed-off-by Rafa=C5=82 Mi=C5=82ecki <[email protected]>
Re: [4.12] bcma: drop unneeded check for CONFIG_OF_IRQ
In reply to Rafał MiłeckiQuoted 11 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
We already have the same check in
bcma_of_get_irqwhich really calls symbols available withCONFIG_OF_IRQonly. It appears this duplicated check was accidentally added in commitc58d900cc96a("bcma: fix building withoutOF_IRQ"). The rest of code inbcma_of_fill_deviceshould work fine withoutCONFIG_OF_IRQ.Signed-off-by Rafał Miłecki <[email protected]>Cc Arnd Bergmann <[email protected]>Acked-by Arnd Bergmann <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
48d197765534 bcma: drop unneeded check for CONFIG_OF_IRQ
Signature · 6 lines
https://patchwork.kernel.org/patch/9602523/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches