projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3dd01e
)
mfd: ab8500-core: Remove pointless else in if statement
author
Lee Jones
<lee.jones@linaro.org>
Wed, 2 Jul 2014 10:13:42 +0000
(11:13 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 9 Jul 2014 15:37:27 +0000
(16:37 +0100)
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>
drivers/mfd/ab8500-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ab8500-core.c
b/drivers/mfd/ab8500-core.c
index cf2e6a198c6bc9cea9fb814cfd4d7720955fd475..857f19ac4bd84fb2a28039de222f03a05068ae9d 100644
(file)
--- a/
drivers/mfd/ab8500-core.c
+++ b/
drivers/mfd/ab8500-core.c
@@
-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[] = {
This page took
0.025036 seconds
and
5
git commands to generate.