Linus Walleij <[email protected]> writes:

> This dangerous function is not used in the kernel, so let's
> just delete it.

Acked-by: Krzysztof Halasa <[email protected]>

> +++ b/arch/arm/mach-ixp4xx/common.c
> @@ -117,17 +117,6 @@ static int ixp4xx_gpio_to_irq(struct gpio_chip *chip, 
> unsigned gpio)
>       return -EINVAL;
>  }
>  
> -int irq_to_gpio(unsigned int irq)
> -{
> -     int gpio = (irq < 32) ? irq2gpio[irq] : -EINVAL;
> -
> -     if (gpio == -1)
> -             return -EINVAL;
> -
> -     return gpio;
> -}
> -EXPORT_SYMBOL(irq_to_gpio);
> -

-- 
Krzysztof Halasa
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to