drivers/rtc/rtc-pcf8563.c: simplify return from function
authorRobert Kmiec <robert.r.kmiec@gmail.com>
Thu, 16 Apr 2015 19:45:01 +0000 (12:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:59 +0000 (09:03 -0400)
commitb0c57b5941c4a42698d845ada6a76feeba2d1be9
treea2f830b8f23cf73df60e5580966280af6ebba34d
parent6e54abac1b8e0b7febffdbad37b605daef1cfcff
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>
drivers/rtc/rtc-pcf8563.c