aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tps65912.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-tps65912.c')
-rw-r--r--drivers/gpio/gpio-tps65912.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c
index 99106d1e2e55..30a5844a7dca 100644
--- a/drivers/gpio/gpio-tps65912.c
+++ b/drivers/gpio/gpio-tps65912.c
@@ -84,7 +84,7 @@ static struct gpio_chip template_chip = {
84 .base = -1, 84 .base = -1,
85}; 85};
86 86
87static int __devinit tps65912_gpio_probe(struct platform_device *pdev) 87static int tps65912_gpio_probe(struct platform_device *pdev)
88{ 88{
89 struct tps65912 *tps65912 = dev_get_drvdata(pdev->dev.parent); 89 struct tps65912 *tps65912 = dev_get_drvdata(pdev->dev.parent);
90 struct tps65912_board *pdata = tps65912->dev->platform_data; 90 struct tps65912_board *pdata = tps65912->dev->platform_data;
@@ -113,7 +113,7 @@ static int __devinit tps65912_gpio_probe(struct platform_device *pdev)
113 return ret; 113 return ret;
114} 114}
115 115
116static int __devexit tps65912_gpio_remove(struct platform_device *pdev) 116static int tps65912_gpio_remove(struct platform_device *pdev)
117{ 117{
118 struct tps65912_gpio_data *tps65912_gpio = platform_get_drvdata(pdev); 118 struct tps65912_gpio_data *tps65912_gpio = platform_get_drvdata(pdev);
119 119
@@ -126,7 +126,7 @@ static struct platform_driver tps65912_gpio_driver = {
126 .owner = THIS_MODULE, 126 .owner = THIS_MODULE,
127 }, 127 },
128 .probe = tps65912_gpio_probe, 128 .probe = tps65912_gpio_probe,
129 .remove = __devexit_p(tps65912_gpio_remove), 129 .remove = tps65912_gpio_remove,
130}; 130};
131 131
132static int __init tps65912_gpio_init(void) 132static int __init tps65912_gpio_init(void)