drivers/rtc/rtc-pcf8563.c: use PTR_RET()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:07:51 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:59 +0000 (16:07 -0700)
commit23f809ee33f06877de4c4f28129c495d332cd500
treec34ad470e29eb2c585841b9827176407a0747cc3
parent8ff7b7d90ed3f2181ec8342758670891bba2f7bd
drivers/rtc/rtc-pcf8563.c: use PTR_RET()

Use of PTR_RET() simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pcf8563.c