Skip to content
Commit b0c57b59 authored by Robert Kmiec's avatar Robert Kmiec Committed by Linus Torvalds
Browse files

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: default avatarRobert Kmiec <robert.r.kmiec@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6e54abac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment