git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e54aba
)
drivers/rtc/rtc-pcf8563.c: simplify return from function
author
Robert Kmiec
<robert.r.kmiec@gmail.com>
Thu, 16 Apr 2015 19:45:01 +0000
(12:45 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:59 +0000
(09:03 -0400)
This commit does not change any logic here. It just makes the code easier
to read.
This is how it looked like:
If err != 0 return err;
else return 0;
Signed-off-by: Robert Kmiec <robert.r.kmiec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pcf8563.c
patch
|
blob
|
history
diff --cc
drivers/rtc/rtc-pcf8563.c
Simple merge