diff options
author | Robert Kmiec <robert.r.kmiec@gmail.com> | 2015-04-16 22:45:01 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 16:03:59 +0300 |
commit | b0c57b5941c4a42698d845ada6a76feeba2d1be9 (patch) | |
tree | a2f830b8f23cf73df60e5580966280af6ebba34d /Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt | |
parent | 6e54abac1b8e0b7febffdbad37b605daef1cfcff (diff) | |
download | linux-b0c57b5941c4a42698d845ada6a76feeba2d1be9.tar.xz |
drivers/rtc/rtc-pcf8563.c: simplify return from function
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>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt')
0 files changed, 0 insertions, 0 deletions