]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: ds1307: Switch to managed irq allocation
authorNishanth Menon <nm@ti.com>
Tue, 23 Jun 2015 16:15:11 +0000 (11:15 -0500)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:05 +0000 (13:19 +0200)
commitc5983191362af5ef7a627d8811a45f0fd01a3582
treef757dfb2a7303d00199bbed4c65dcb7e025d1fa5
parent2fb07a10e0aa699ddb12aba1459208579bdc9802
rtc: ds1307: Switch to managed irq allocation

Since we are not doing anything fancy in remove function that requires
us to sequence IRQ free operation, we might as well switch over to devm_
equivalent of managed IRQ allocation and remove the explicit free_irq
since it'd be done automatically at remove.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds1307.c