rtc: rtc-sh: use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Wed, 3 Jul 2013 22:07:11 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:55 +0000 (16:07 -0700)
commit0209affa6eefb4bb8288f8a0e678b1b36facabd5
tree4718660b4c42a8d20b4c19a2c7efd20b2700b3d1
parentfac42b414a42e54f327ead67fa1804078b0db7be
rtc: rtc-sh: 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-sh.c