diff options
author | Lee Jones <lee.jones@linaro.org> | 2014-07-02 06:13:42 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 11:37:27 -0400 |
commit | f35563027f4555fee8a6ee5a8c775cbf0c9ad4ef (patch) | |
tree | 868c6aaac9de0362498d1e14d859e6ab36c2f939 /drivers/mfd/ab8500-core.c | |
parent | a3dd01e17756e85badd587de774cec783abe1b19 (diff) |
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>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r-- | drivers/mfd/ab8500-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index cf2e6a198c6b..857f19ac4bd8 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c | |||
@@ -607,8 +607,8 @@ int ab8500_suspend(struct ab8500 *ab8500) | |||
607 | { | 607 | { |
608 | if (atomic_read(&ab8500->transfer_ongoing)) | 608 | if (atomic_read(&ab8500->transfer_ongoing)) |
609 | return -EINVAL; | 609 | return -EINVAL; |
610 | else | 610 | |
611 | return 0; | 611 | return 0; |
612 | } | 612 | } |
613 | 613 | ||
614 | static struct resource ab8500_gpadc_resources[] = { | 614 | static struct resource ab8500_gpadc_resources[] = { |