Commit f3556302 authored by Lee Jones's avatar 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: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent a3dd01e1
...@@ -607,8 +607,8 @@ int ab8500_suspend(struct ab8500 *ab8500) ...@@ -607,8 +607,8 @@ int ab8500_suspend(struct ab8500 *ab8500)
{ {
if (atomic_read(&ab8500->transfer_ongoing)) if (atomic_read(&ab8500->transfer_ongoing))
return -EINVAL; return -EINVAL;
else
return 0; return 0;
} }
static struct resource ab8500_gpadc_resources[] = { static struct resource ab8500_gpadc_resources[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment