Skip to contentSkip to conversation

bcma: drop unneeded check for CONFIG_OF_IRQ

PATCH In review Rafał Miłecki 3 participants 3 messages Mar 3, 2017 – Mar 20, 2017 Broadcom specific amba driver (bcma)

lore
Share & tools
lore

Rafał Miłecki

author maintainer
#0 lore raw

PATCH 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
index 2da7fe1d20a7..e6986c7608f1 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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_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.

#2 lore raw

Re: [4.12] bcma: drop unneeded check for CONFIG_OF_IRQ

In reply to Rafał Miłecki
Quoted 11 lines · Rafał Miłecki

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.

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