diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-05-31 18:06:57 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-21 15:53:10 +0200 |
commit | 32bb6cbb3b4ea5ca24e3fa13e11772c192616e04 (patch) | |
tree | c20749f3f28d745935e737406afc00fab7247128 /drivers/md/dm-linear.c | |
parent | 707188f5f2421a304324e6ef3aaf4413cfab0f3d (diff) | |
download | linux-stable-32bb6cbb3b4ea5ca24e3fa13e11772c192616e04.tar.gz linux-stable-32bb6cbb3b4ea5ca24e3fa13e11772c192616e04.tar.bz2 linux-stable-32bb6cbb3b4ea5ca24e3fa13e11772c192616e04.zip |
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
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions