Message ID | 20240904151018.71967-3-vassilisamir@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 36a5faec5658736e8d3d9047c1387a69ffda3354 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Use functionality of irq_get_trigger_type() | expand |
diff --git a/drivers/net/dsa/realtek/rtl8366rb.c b/drivers/net/dsa/realtek/rtl8366rb.c index 11243f89c98a..c7a8cd060587 100644 --- a/drivers/net/dsa/realtek/rtl8366rb.c +++ b/drivers/net/dsa/realtek/rtl8366rb.c @@ -599,7 +599,7 @@ static int rtl8366rb_setup_cascaded_irq(struct realtek_priv *priv) } /* Fetch IRQ edge information from the descriptor */ - irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); + irq_trig = irq_get_trigger_type(irq); switch (irq_trig) { case IRQF_TRIGGER_RISING: case IRQF_TRIGGER_HIGH: