ARM: 7054/1: arm/tegra: Delete custom gpio_to_irq, and irq_to_gpio
authorStephen Warren <swarren@nvidia.com>
Mon, 22 Aug 2011 23:39:57 +0000 (00:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Aug 2011 07:28:38 +0000 (08:28 +0100)
By not definining a custom gpio_to_irq, the default gpiolib version is
used, allowing platform consolidation.

irq_to_gpio is deprecated and in the process of being removed. Make that
happen now for ARM Tegra.

This also partially fixes the Tegra build; it was broken because gpio.h
referred to EINVAL, which wasn't always defined when <mach/gpio.h> was
included.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found