From: Arnd Bergmann Date: Fri, 2 Sep 2016 22:52:11 +0000 (+0200) Subject: Merge commit 'http://github.com/rogerq/linux gpmc-omap-v4.8-rc1' into next/drivers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9064a1c77dd3a5c7288b0254a336d6f4073cd996;p=linux-beck.git Merge commit 'http://github.com/rogerq/linux gpmc-omap-v4.8-rc1' into next/drivers 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 --- 9064a1c77dd3a5c7288b0254a336d6f4073cd996 diff --cc drivers/memory/omap-gpmc.c index c2c32edfed95,f00f3e742265..5457c361ad58 --- a/drivers/memory/omap-gpmc.c +++ b/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);