File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -2433,21 +2433,6 @@ static int rzg2l_gpio_child_to_parent_hwirq(struct gpio_chip *gc,
24332433 return ret ;
24342434}
24352435
2436- static int rzg2l_gpio_populate_parent_fwspec (struct gpio_chip * chip ,
2437- union gpio_irq_fwspec * gfwspec ,
2438- unsigned int parent_hwirq ,
2439- unsigned int parent_type )
2440- {
2441- struct irq_fwspec * fwspec = & gfwspec -> fwspec ;
2442-
2443- fwspec -> fwnode = chip -> irq .parent_domain -> fwnode ;
2444- fwspec -> param_count = 2 ;
2445- fwspec -> param [0 ] = parent_hwirq ;
2446- fwspec -> param [1 ] = parent_type ;
2447-
2448- return 0 ;
2449- }
2450-
24512436static void rzg2l_gpio_irq_restore (struct rzg2l_pinctrl * pctrl )
24522437{
24532438 struct irq_domain * domain = pctrl -> gpio_chip .irq .domain ;
@@ -2649,7 +2634,7 @@ static int rzg2l_gpio_register(struct rzg2l_pinctrl *pctrl)
26492634 girq -> fwnode = dev_fwnode (pctrl -> dev );
26502635 girq -> parent_domain = parent_domain ;
26512636 girq -> child_to_parent_hwirq = rzg2l_gpio_child_to_parent_hwirq ;
2652- girq -> populate_parent_alloc_arg = rzg2l_gpio_populate_parent_fwspec ;
2637+ girq -> populate_parent_alloc_arg = gpiochip_populate_parent_fwspec_twocell ;
26532638 girq -> child_irq_domain_ops .free = rzg2l_gpio_irq_domain_free ;
26542639 girq -> init_valid_mask = rzg2l_init_irq_valid_mask ;
26552640
You can’t perform that action at this time.
0 commit comments