rtc: rtc-pcap: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:20:47 +0000 (16:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:38 +0000 (18:28 -0700)
commit6b5f486225f6a4ec052209a466d580a1d1d92ce5
treef764034f2d02edce124cd607ca7403e3e95e2abc
parenta63794fefd850a97fe07cfc017f52ea1bb777e75
rtc: rtc-pcap: 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-pcap.c