]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drivers/rtc/rtc-pcf8583.c: use PTR_RET()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Jul 2013 22:07:52 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:59 +0000 (16:07 -0700)
commitee605e0b2e12040dc1fe88eb8ab03bde0b8f92b8
tree4e8ed470f08b81d4a7352768ee0a175e70f3fc6a
parent23f809ee33f06877de4c4f28129c495d332cd500
drivers/rtc/rtc-pcf8583.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-pcf8583.c