]> git.baikalelectronics.ru Git - kernel.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)
commit545d580b804241dba9625c080fe37676ed966469
treef757dfb2a7303d00199bbed4c65dcb7e025d1fa5
parent244ce358f6cb4758a60aa0025f2e20cb0f42711b
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