diff options
Diffstat (limited to 'drivers/gpio/stmpe-gpio.c')
-rw-r--r-- | 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 65b996083918..932759db1ac2 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) | |||
291 | int irq; | 291 | int irq; |
292 | 292 | ||
293 | pdata = stmpe->pdata->gpio; | 293 | pdata = stmpe->pdata->gpio; |
294 | if (!pdata) | ||
295 | return -ENODEV; | ||
296 | 294 | ||
297 | irq = platform_get_irq(pdev, 0); | 295 | irq = platform_get_irq(pdev, 0); |
298 | if (irq < 0) | 296 | if (irq < 0) |