pinctrl: intel: Convert to generic_handle_domain_irq()
Subsystems (3)
PATCH 1/1 pinctrl: intel: Convert to generic_handle_domain_irq()
Replace construct that matches generic_handle_irq(irq_find_mapping()) to a single call to generic_handle_domain_irq().
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/pinctrl/intel/pinctrl-intel.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
drivers/pinctrl/intel/pinctrl-intel.c +2 -7
@@ -1215,13 +1215,8 @@ static int intel_gpio_community_irq_handler(struct intel_pinctrl *pctrl,/* Only interrupts that are enabled */ pending &= enabled; -for_each_set_bit (gpp_offset, &pending, padgrp->size) { -unsigned int irq; - - irq =irq_find_mapping (gc->irq.domain, - padgrp->gpio_base + gpp_offset); -generic_handle_irq (irq); - } +for_each_set_bit (gpp_offset, &pending, padgrp->size) +generic_handle_domain_irq (gc->irq.domain, padgrp->gpio_base + gpp_offset); ret += pending ?1 :0 ; }
Signature · 1 line
2.35.1
Quoted 4 lines · Andy Shevchenko
Replace construct that matches generic_handle_irq(irq_find_mapping()) to a single call to
generic_handle_domain_irq().Signed-off-by Andy Shevchenko <[email protected]>
Acked-by Mika Westerberg <[email protected]>
Quoted 7 lines · Mika Westerberg
Quoted 4 lines · Andy Shevchenko
Replace construct that matches generic_handle_irq(irq_find_mapping()) to a single call to
generic_handle_domain_irq().Signed-off-by Andy Shevchenko <[email protected]>Acked-by Mika Westerberg <[email protected]>
Pushed to my review and testing queue, thanks|
Signature · 2 lines
With Best Regards, Andy Shevchenko