diff mbox series

[v1,5/7] wifi: brcmfmac: of: Make use of irq_get_trigger_type()

Message ID 20240902225534.130383-6-vassilisamir@gmail.com
State Superseded
Headers show
Series Use functionality of irq_get_trigger_type() | expand

Commit Message

Vasileios Amoiridis Sept. 2, 2024, 10:55 p.m. UTC
Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more
simple irq_get_trigger_type().

Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Sept. 3, 2024, 5:13 p.m. UTC | #1
Vasileios Amoiridis <vassilisamir@gmail.com> wrote:

> Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more
> simple irq_get_trigger_type().
> 
> Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>

wireless patches go via wireless-next, please submit patches 5-6
separately.

2 patches set to Changes Requested.

13787792 [v1,5/7] wifi: brcmfmac: of: Make use of irq_get_trigger_type()
13787793 [v1,6/7] wifi: wlcore: sdio: Make use of irq_get_trigger_type()
diff mbox series

Patch

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
index fe4f65756105..e2611f164fa8 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
@@ -138,7 +138,7 @@  void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type,
 		brcmf_err("interrupt could not be mapped\n");
 		return;
 	}
-	irqf = irqd_get_trigger_type(irq_get_irq_data(irq));
+	irqf = irq_get_trigger_type(irq);
 
 	sdio->oob_irq_supported = true;
 	sdio->oob_irq_nr = irq;