提交 f3556302 编写于 作者: L Lee Jones

mfd: ab8500-core: Remove pointless else in if statement

Save a line of code (albeit, it's replaced by a blank line, but
still), as the else is superfluous.
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 a3dd01e1
......@@ -607,8 +607,8 @@ int ab8500_suspend(struct ab8500 *ab8500)
{
if (atomic_read(&ab8500->transfer_ongoing))
return -EINVAL;
else
return 0;
return 0;
}
static struct resource ab8500_gpadc_resources[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册