drivers/rtc/rtc-da9052.c: use PTR_RET()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:07:48 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:59 +0000 (16:07 -0700)
commit11f54d05865c009a468e9d7adaa7414749daa6ca
tree0baf286b650d01aa09f6c53df02cde36a0846e6e
parentad87a766479d027f5966c781605bc9f7bf8bab67
drivers/rtc/rtc-da9052.c: use PTR_RET()

Use of PTR_RET() simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: David Dajun Chen <dchen@diasemi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-da9052.c