drivers/rtc/rtc-twl.c: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 Jan 2014 23:55:06 +0000 (15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:59 +0000 (16:36 -0800)
commitf53eeb853dfe408737ac6b8c3117bd21a9c60fd4
tree6c8a1dd74c2bc4838aa8a8f242c08f9985545629
parent663b35241df1d0ed24be3d17733807cc8723cc4a
drivers/rtc/rtc-twl.c: use devm_*() functions

Use devm_*() functions to make cleanup paths simpler, and remove
unnecessary remove().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-twl.c