Merge commit 'http://github.com/rogerq/linux gpmc-omap-v4.8-rc1' into next/drivers
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Sep 2016 22:52:11 +0000 (00:52 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 2 Sep 2016 22:52:11 +0000 (00:52 +0200)
This is also going to be part of v4.8 and sent as a bugfix,
merging it here to avoid a small conflict against the other
gpmc changes.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1  2 
drivers/memory/omap-gpmc.c

@@@ -2359,19 -2365,15 +2358,13 @@@ static int gpmc_probe(struct platform_d
        rc = gpmc_setup_irq(gpmc);
        if (rc) {
                dev_err(gpmc->dev, "gpmc_setup_irq failed\n");
 -              goto setup_irq_failed;
 +              goto gpio_init_failed;
        }
  
-       rc = gpmc_probe_dt_children(pdev);
-       if (rc < 0) {
-               dev_err(gpmc->dev, "failed to probe DT children\n");
-               goto dt_children_failed;
-       }
+       gpmc_probe_dt_children(pdev);
  
        return 0;
  
- dt_children_failed:
-       gpmc_free_irq(gpmc);
 -setup_irq_failed:
 -      gpmc_gpio_exit(gpmc);
  gpio_init_failed:
        gpmc_mem_exit();
        pm_runtime_put_sync(&pdev->dev);