]> git.baikalelectronics.ru Git - kernel.git/commit
irq/generic-chip: Provide irq_destroy_generic_chip()
authorBartosz Golaszewski <brgl@bgdev.pl>
Wed, 31 May 2017 16:06:57 +0000 (18:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 21 Jun 2017 13:53:10 +0000 (15:53 +0200)
commit6084c26b5bf747c689b182946d49498f4c41dfb1
treec20749f3f28d745935e737406afc00fab7247128
parentd743beff0cf239e3c6c8296722cb4515f10539f7
irq/generic-chip: Provide irq_destroy_generic_chip()

Most users of irq_alloc_generic_chip() call irq_setup_generic_chip()
too. To simplify the cleanup provide a function that both removes a
generic chip and frees its memory.

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-3-git-send-email-brgl@bgdev.pl
include/linux/irq.h