diff options
author | Robert Kmiec <robert.r.kmiec@gmail.com> | 2015-04-16 12:45:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:03:59 -0400 |
commit | b0c57b5941c4a42698d845ada6a76feeba2d1be9 (patch) | |
tree | a2f830b8f23cf73df60e5580966280af6ebba34d /drivers/rtc/rtc-ds1553.c | |
parent | 6e54abac1b8e0b7febffdbad37b605daef1cfcff (diff) |
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 'drivers/rtc/rtc-ds1553.c')
0 files changed, 0 insertions, 0 deletions