Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: khc@pm.waw.pl (Krzysztof Halasa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/7] ARM: ixp4: delete irq_to_gpio
Date: Tue, 17 Sep 2013 14:41:23 +0200	[thread overview]
Message-ID: <m3a9jbtybw.fsf@intrepid.localdomain> (raw)
In-Reply-To: <1378816295-8205-1-git-send-email-linus.walleij@linaro.org> (Linus Walleij's message of "Tue, 10 Sep 2013 14:31:35 +0200")

Linus Walleij <linus.walleij@linaro.org> writes:

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

Acked-by: Krzysztof Halasa <khc@pm.waw.pl>

> +++ 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

      reply	other threads:[~2013-09-17 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 12:31 [PATCH 6/7] ARM: ixp4: delete irq_to_gpio Linus Walleij
2013-09-17 12:41 ` Krzysztof Halasa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3a9jbtybw.fsf@intrepid.localdomain \
    --to=khc@pm.waw.pl \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox