提交 8abdd2d2 编写于 作者: A Alan Cox 提交者: Linus Walleij

gpio-sch: Fix leak of resource

Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 0d7614f0
......@@ -241,7 +241,8 @@ static int __devinit sch_gpio_probe(struct platform_device *pdev)
break;
default:
return -ENODEV;
err = -ENODEV;
goto err_sch_gpio_core;
}
sch_gpio_core.dev = &pdev->dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册