From: David Brownell Date: Thu, 16 Oct 2008 05:03:14 +0000 (-0700) Subject: gpiolib: gpio_to_irq() hooks X-Git-Tag: v2.6.28-rc1~424 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6d504e73b49374c6093efe6aa60ab55058248a;p=pandora-kernel.git gpiolib: gpio_to_irq() hooks Add a new gpiolib mechanism: gpio_chip instances can provide mappings between their (input) GPIOs and any associated IRQs. This makes it easier for platforms to support IRQs that are provided by board-specific external chips instead of as part of their core (such as SOC-integrated GPIOs). Also update the irq_to_gpio() description, saying to avoid it because it's not always supported. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed