From: Russell King Date: Sun, 18 Dec 2011 18:24:57 +0000 (+0000) Subject: GPIO: sa1100: implement proper gpiolib gpio_to_irq conversion X-Git-Tag: v3.3-rc1~64^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f408c985cefc9b1d99bc099e1208dd7df3445aa5;p=pandora-kernel.git GPIO: sa1100: implement proper gpiolib gpio_to_irq conversion The existing gpio_to_irq() implementation on sa1100 only translates validly for internal GPIOs. Since this sub-arch enables GPIOLIB support, this results in buggy translations for non-internal GPIOs. Get rid of the private gpio_to_irq() implementation, replacing it with the .to_irq method in the sa1100 gpio chip instead. Signed-off-by: Russell King Acked-by: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed