irqdesc: Add a resource managed version of irq_alloc_descs()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 10 Feb 2017 12:23:23 +0000 (13:23 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 10 Feb 2017 13:39:20 +0000 (14:39 +0100)
commit2b5e77308f3356faad640b24af6dc5aa7233eb2d
tree9be3459eddd83c7c2ee84dd8ce2624f90b06a1e8
parentb4f2d7c3424c00de162c042a5a3a5ed19974677c
irqdesc: Add a resource managed version of irq_alloc_descs()

Add a devres flavor of __devm_irq_alloc_descs() and corresponding
helper macros.

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