diff mbox series

[wireless-next,v2,1/3] wifi: brcmfmac: of: Make use of irq_get_trigger_type()

Message ID 20240904154919.118513-2-vassilisamir@gmail.com
State New
Headers show
Series Use functionality of | expand

Commit Message

Vasileios Amoiridis Sept. 4, 2024, 3:49 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. 18, 2024, 1:53 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>

3 patches applied to wireless-next.git, thanks.

50282c028316 wifi: brcmfmac: of: Make use of irq_get_trigger_type()
18ae128c1ddc wifi: wlcore: sdio: Make use of irq_get_trigger_type()
a3ede2b0e65a wifi: wlcore: sdio: Use helper to define resources
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;