drivers/rtc/rtc-isl12022.c: use PTR_RET()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:07:49 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:59 +0000 (16:07 -0700)
commit17cc54b20e4a06c081dec6abc9317a69605db541
tree79c76f73290df1722e94ca1f1f445db38e69c0d9
parent11f54d05865c009a468e9d7adaa7414749daa6ca
drivers/rtc/rtc-isl12022.c: use PTR_RET()

Use of PTR_RET() simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Roman Fietze <roman.fietze@telemotive.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-isl12022.c