aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-adp5520.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-adp5520.c')
-rw-r--r--drivers/gpio/gpio-adp5520.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-adp5520.c b/drivers/gpio/gpio-adp5520.c
index 2f263cc32561..8afa95f831b1 100644
--- a/drivers/gpio/gpio-adp5520.c
+++ b/drivers/gpio/gpio-adp5520.c
@@ -87,7 +87,7 @@ static int adp5520_gpio_direction_output(struct gpio_chip *chip,
87 return ret; 87 return ret;
88} 88}
89 89
90static int __devinit adp5520_gpio_probe(struct platform_device *pdev) 90static int adp5520_gpio_probe(struct platform_device *pdev)
91{ 91{
92 struct adp5520_gpio_platform_data *pdata = pdev->dev.platform_data; 92 struct adp5520_gpio_platform_data *pdata = pdev->dev.platform_data;
93 struct adp5520_gpio *dev; 93 struct adp5520_gpio *dev;
@@ -167,7 +167,7 @@ err:
167 return ret; 167 return ret;
168} 168}
169 169
170static int __devexit adp5520_gpio_remove(struct platform_device *pdev) 170static int adp5520_gpio_remove(struct platform_device *pdev)
171{ 171{
172 struct adp5520_gpio *dev; 172 struct adp5520_gpio *dev;
173 int ret; 173 int ret;
@@ -190,7 +190,7 @@ static struct platform_driver adp5520_gpio_driver = {
190 .owner = THIS_MODULE, 190 .owner = THIS_MODULE,
191 }, 191 },
192 .probe = adp5520_gpio_probe, 192 .probe = adp5520_gpio_probe,
193 .remove = __devexit_p(adp5520_gpio_remove), 193 .remove = adp5520_gpio_remove,
194}; 194};
195 195
196module_platform_driver(adp5520_gpio_driver); 196module_platform_driver(adp5520_gpio_driver);