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: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
a3dd01e177
commit
f35563027f
|
@ -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[] = {
|
||||||
|
|
Loading…
Reference in New Issue