From: Wolfram Sang <w.sang@pengutronix.de>
To: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Cc: sameo@linux.intel.com, linux-kernel@vger.kernel.org,
STEricsson_nomadik_linux@list.st.com,
rabin.vincent@stericsson.com, linus.walleij@stericsson.com
Subject: Re: [PATCH] stmpe-gpio: Handle platform data with no gpio base
Date: Tue, 31 Aug 2010 11:24:03 +0200 [thread overview]
Message-ID: <20100831092403.GA4446@pengutronix.de> (raw)
In-Reply-To: <1283229296-16733-1-git-send-email-virupax.sadashivpetimath@stericsson.com>
[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]
On Tue, Aug 31, 2010 at 10:04:56AM +0530, Virupax Sadashivpetimath wrote:
> This patch removes the requirement that gpio base be supplied in
> platform data.
>
> Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
> Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
> ---
> drivers/gpio/stmpe-gpio.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/stmpe-gpio.c b/drivers/gpio/stmpe-gpio.c
> index 65b9960..932759d 100644
> --- a/drivers/gpio/stmpe-gpio.c
> +++ b/drivers/gpio/stmpe-gpio.c
> @@ -291,8 +291,6 @@ static int __devinit stmpe_gpio_probe(struct platform_device *pdev)
> int irq;
>
> pdata = stmpe->pdata->gpio;
> - if (!pdata)
> - return -ENODEV;
>
> irq = platform_get_irq(pdev, 0);
> if (irq < 0)
> --
> 1.7.1
>
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-08-31 9:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 4:34 [PATCH] stmpe-gpio: Handle platform data with no gpio base Virupax Sadashivpetimath
2010-08-31 9:24 ` Wolfram Sang [this message]
2010-09-10 17:00 ` Samuel Ortiz
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=20100831092403.GA4446@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=STEricsson_nomadik_linux@list.st.com \
--cc=linus.walleij@stericsson.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rabin.vincent@stericsson.com \
--cc=sameo@linux.intel.com \
--cc=virupax.sadashivpetimath@stericsson.com \
/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