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,
2433
2433
return ret ;
2434
2434
}
2435
2435
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
-
2451
2436
static void rzg2l_gpio_irq_restore (struct rzg2l_pinctrl * pctrl )
2452
2437
{
2453
2438
struct irq_domain * domain = pctrl -> gpio_chip .irq .domain ;
@@ -2649,7 +2634,7 @@ static int rzg2l_gpio_register(struct rzg2l_pinctrl *pctrl)
2649
2634
girq -> fwnode = dev_fwnode (pctrl -> dev );
2650
2635
girq -> parent_domain = parent_domain ;
2651
2636
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 ;
2653
2638
girq -> child_irq_domain_ops .free = rzg2l_gpio_irq_domain_free ;
2654
2639
girq -> init_valid_mask = rzg2l_init_irq_valid_mask ;
2655
2640
You can’t perform that action at this time.
0 commit comments