irq/generic-chip: Provide devm_irq_alloc_generic_chip()
authorBartosz Golaszewski <brgl@bgdev.pl>
Wed, 31 May 2017 16:06:59 +0000 (18:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 21 Jun 2017 13:53:11 +0000 (15:53 +0200)
commit1c3e36309fe2e94b8a889fa32cb5c871434f8ed6
treee51e8f0c8b636fdbb88aa95f3371a151c4e0baf3
parentf160203986a6ad23ab8077c4a25b260fe55d6e26
irq/generic-chip: Provide devm_irq_alloc_generic_chip()

Provide a resource managed variant of irq_alloc_generic_chip().

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-doc@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Link: http://lkml.kernel.org/r/1496246820-13250-5-git-send-email-brgl@bgdev.pl
Documentation/driver-model/devres.txt
include/linux/irq.h
kernel/irq/devres.c