]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-da9052.c: use PTR_RET()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 19 Jun 2013 00:08:06 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:33 +0000 (17:27 +1000)
commitf5452de5d22760159a018ac3c7cea36066810693
treeeb7457f663ac78a530f727d40e15cf33e4480b47
parent4bca05b4f8b3fc44882ab92144c3c21c1b7c79f6
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>
drivers/rtc/rtc-da9052.c