rtc: rtc-max8997: use devm_request_threaded_irq()
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:45:44 +0000 (16:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:30 +0000 (17:22 -0800)
commitc1879fe80c61f3be6f2ddb82509c2e7f92a484fe
tree8155de84f0acc322f032389552b4cb4136bc461c
parent83a72c87e9d52820e9d3058004874af4df377a4d
rtc: rtc-max8997: use devm_request_threaded_irq()

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>
drivers/rtc/rtc-max8997.c