rtc: rtc-bq4802: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:20:36 +0000 (16:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:36 +0000 (18:28 -0700)
commit26c5f7d93adbe440bc7db95c1e4f1b1820e403a1
treecece445ff54d8f58ef2cc789b8549cad6583a60b
parent87e7d520edba936fe6d1102e9fcc7530a478c07c
rtc: rtc-bq4802: use devm_*() functions

Use devm_*() functions to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-bq4802.c