diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-29 16:19:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 18:28:26 -0700 |
commit | 27971335ce666feb08344ca7c5fdd25f13985f62 (patch) | |
tree | e789a53ed590b941b44dfe61700cf43d352cb2cc /drivers/rtc/rtc-pcf8523.c | |
parent | 033ca3ad243611c85f83f150d27d8bdf322218f4 (diff) | |
download | op-kernel-dev-27971335ce666feb08344ca7c5fdd25f13985f62.zip op-kernel-dev-27971335ce666feb08344ca7c5fdd25f13985f62.tar.gz |
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>
Diffstat (limited to 'drivers/rtc/rtc-pcf8523.c')
0 files changed, 0 insertions, 0 deletions