drivers/rtc/rtc-da9052.c: use PTR_RET()
Use of PTR_RET() simplifies the code. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Cc: David Dajun Chen <dchen@diasemi.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录