diff options
Diffstat (limited to 'drivers/gpio/gpio-ab8500.c')
| -rw-r--r-- | drivers/gpio/gpio-ab8500.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index 050c05d91896..983ad425f0ac 100644 --- a/drivers/gpio/gpio-ab8500.c +++ b/drivers/gpio/gpio-ab8500.c | |||
| @@ -402,7 +402,7 @@ static void ab8500_gpio_irq_remove(struct ab8500_gpio *ab8500_gpio) | |||
| 402 | } | 402 | } |
| 403 | } | 403 | } |
| 404 | 404 | ||
| 405 | static int __devinit ab8500_gpio_probe(struct platform_device *pdev) | 405 | static int ab8500_gpio_probe(struct platform_device *pdev) |
| 406 | { | 406 | { |
| 407 | struct ab8500_platform_data *ab8500_pdata = | 407 | struct ab8500_platform_data *ab8500_pdata = |
| 408 | dev_get_platdata(pdev->dev.parent); | 408 | dev_get_platdata(pdev->dev.parent); |
| @@ -474,7 +474,7 @@ out_free: | |||
| 474 | * ab8500_gpio_remove() - remove Ab8500-gpio driver | 474 | * ab8500_gpio_remove() - remove Ab8500-gpio driver |
| 475 | * @pdev : Platform device registered | 475 | * @pdev : Platform device registered |
| 476 | */ | 476 | */ |
| 477 | static int __devexit ab8500_gpio_remove(struct platform_device *pdev) | 477 | static int ab8500_gpio_remove(struct platform_device *pdev) |
| 478 | { | 478 | { |
| 479 | struct ab8500_gpio *ab8500_gpio = platform_get_drvdata(pdev); | 479 | struct ab8500_gpio *ab8500_gpio = platform_get_drvdata(pdev); |
| 480 | int ret; | 480 | int ret; |
| @@ -499,7 +499,7 @@ static struct platform_driver ab8500_gpio_driver = { | |||
| 499 | .owner = THIS_MODULE, | 499 | .owner = THIS_MODULE, |
| 500 | }, | 500 | }, |
| 501 | .probe = ab8500_gpio_probe, | 501 | .probe = ab8500_gpio_probe, |
| 502 | .remove = __devexit_p(ab8500_gpio_remove), | 502 | .remove = ab8500_gpio_remove, |
| 503 | }; | 503 | }; |
| 504 | 504 | ||
| 505 | static int __init ab8500_gpio_init(void) | 505 | static int __init ab8500_gpio_init(void) |
