commit | 27971335ce666feb08344ca7c5fdd25f13985f62 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Apr 29 16:19:10 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 29 18:28:26 2013 -0700 |
tree | e789a53ed590b941b44dfe61700cf43d352cb2cc | |
parent | 033ca3ad243611c85f83f150d27d8bdf322218f4 [diff] |
rtc: rtc-palmas: use devm_rtc_device_register() and devm_request_threaded_irq() devm_rtc_device_register() is device managed and makes cleanup paths simpler. Also, use devm_request_threaded_irq() to make cleanup paths more simple. 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>