diff options
Diffstat (limited to 'drivers/gpio/gpio-stmpe.c')
-rw-r--r-- | drivers/gpio/gpio-stmpe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c index 3e1d39895cef..770476a9da87 100644 --- a/drivers/gpio/gpio-stmpe.c +++ b/drivers/gpio/gpio-stmpe.c | |||
@@ -307,7 +307,7 @@ static const struct irq_domain_ops stmpe_gpio_irq_simple_ops = { | |||
307 | .xlate = irq_domain_xlate_twocell, | 307 | .xlate = irq_domain_xlate_twocell, |
308 | }; | 308 | }; |
309 | 309 | ||
310 | static int __devinit stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio) | 310 | static int stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio) |
311 | { | 311 | { |
312 | int base = stmpe_gpio->irq_base; | 312 | int base = stmpe_gpio->irq_base; |
313 | 313 | ||
@@ -322,7 +322,7 @@ static int __devinit stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio) | |||
322 | return 0; | 322 | return 0; |
323 | } | 323 | } |
324 | 324 | ||
325 | static int __devinit stmpe_gpio_probe(struct platform_device *pdev) | 325 | static int stmpe_gpio_probe(struct platform_device *pdev) |
326 | { | 326 | { |
327 | struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); | 327 | struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); |
328 | struct device_node *np = pdev->dev.of_node; | 328 | struct device_node *np = pdev->dev.of_node; |
@@ -401,7 +401,7 @@ out_free: | |||
401 | return ret; | 401 | return ret; |
402 | } | 402 | } |
403 | 403 | ||
404 | static int __devexit stmpe_gpio_remove(struct platform_device *pdev) | 404 | static int stmpe_gpio_remove(struct platform_device *pdev) |
405 | { | 405 | { |
406 | struct stmpe_gpio *stmpe_gpio = platform_get_drvdata(pdev); | 406 | struct stmpe_gpio *stmpe_gpio = platform_get_drvdata(pdev); |
407 | struct stmpe *stmpe = stmpe_gpio->stmpe; | 407 | struct stmpe *stmpe = stmpe_gpio->stmpe; |
@@ -434,7 +434,7 @@ static struct platform_driver stmpe_gpio_driver = { | |||
434 | .driver.name = "stmpe-gpio", | 434 | .driver.name = "stmpe-gpio", |
435 | .driver.owner = THIS_MODULE, | 435 | .driver.owner = THIS_MODULE, |
436 | .probe = stmpe_gpio_probe, | 436 | .probe = stmpe_gpio_probe, |
437 | .remove = __devexit_p(stmpe_gpio_remove), | 437 | .remove = stmpe_gpio_remove, |
438 | }; | 438 | }; |
439 | 439 | ||
440 | static int __init stmpe_gpio_init(void) | 440 | static int __init stmpe_gpio_init(void) |