public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] stmpe-gpio: Handle platform data with no gpio base
@ 2010-08-31  4:34 Virupax Sadashivpetimath
  2010-08-31  9:24 ` Wolfram Sang
  2010-09-10 17:00 ` Samuel Ortiz
  0 siblings, 2 replies; 3+ messages in thread
From: Virupax Sadashivpetimath @ 2010-08-31  4:34 UTC (permalink / raw)
  To: sameo, w.sang, linux-kernel
  Cc: STEricsson_nomadik_linux, virupax.sadashivpetimath, rabin.vincent,
	linus.walleij

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] stmpe-gpio: Handle platform data with no gpio base
  2010-08-31  4:34 [PATCH] stmpe-gpio: Handle platform data with no gpio base Virupax Sadashivpetimath
@ 2010-08-31  9:24 ` Wolfram Sang
  2010-09-10 17:00 ` Samuel Ortiz
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2010-08-31  9:24 UTC (permalink / raw)
  To: Virupax Sadashivpetimath
  Cc: sameo, linux-kernel, STEricsson_nomadik_linux, rabin.vincent,
	linus.walleij

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] stmpe-gpio: Handle platform data with no gpio base
  2010-08-31  4:34 [PATCH] stmpe-gpio: Handle platform data with no gpio base Virupax Sadashivpetimath
  2010-08-31  9:24 ` Wolfram Sang
@ 2010-09-10 17:00 ` Samuel Ortiz
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2010-09-10 17:00 UTC (permalink / raw)
  To: Virupax Sadashivpetimath
  Cc: w.sang, linux-kernel, STEricsson_nomadik_linux, rabin.vincent,
	linus.walleij

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.
Patch applied to my for-next branch, unless David wants to take it.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-10 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31  4:34 [PATCH] stmpe-gpio: Handle platform data with no gpio base Virupax Sadashivpetimath
2010-08-31  9:24 ` Wolfram Sang
2010-09-10 17:00 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox