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