drivers/rtc/rtc-m48t35.c: use PTR_RET()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:07:50 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:59 +0000 (16:07 -0700)
commit8ff7b7d90ed3f2181ec8342758670891bba2f7bd
treeffc2112aac2c5a23193335d2a97ed9df8285a894
parent17cc54b20e4a06c081dec6abc9317a69605db541
drivers/rtc/rtc-m48t35.c: use PTR_RET()

Use of PTR_RET() simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-m48t35.c