mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
gpio: omap: remove wrong irq_domain_remove usage in probe
The bank->chip.irqdomain is uninitialized at the moment when irq_domain_remove() is called, so remove this call. Signed-off-by: Grygorii Strashko <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
41d6bb4c89
commit
bb8cdf9510
1 changed files with 0 additions and 1 deletions
|
|
@ -1219,7 +1219,6 @@ static int omap_gpio_probe(struct platform_device *pdev)
|
|||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
bank->base = devm_ioremap_resource(dev, res);
|
||||
if (IS_ERR(bank->base)) {
|
||||
irq_domain_remove(bank->chip.irqdomain);
|
||||
return PTR_ERR(bank->base);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue