aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ts5500.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-ts5500.c')
-rw-r--r--drivers/gpio/gpio-ts5500.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-ts5500.c b/drivers/gpio/gpio-ts5500.c
index 0634ceea3c24..cc53cab8df2a 100644
--- a/drivers/gpio/gpio-ts5500.c
+++ b/drivers/gpio/gpio-ts5500.c
@@ -319,7 +319,7 @@ static void ts5500_disable_irq(struct ts5500_priv *priv)
319 spin_unlock_irqrestore(&priv->lock, flags); 319 spin_unlock_irqrestore(&priv->lock, flags);
320} 320}
321 321
322static int __devinit ts5500_dio_probe(struct platform_device *pdev) 322static int ts5500_dio_probe(struct platform_device *pdev)
323{ 323{
324 enum ts5500_blocks block = platform_get_device_id(pdev)->driver_data; 324 enum ts5500_blocks block = platform_get_device_id(pdev)->driver_data;
325 struct ts5500_dio_platform_data *pdata = pdev->dev.platform_data; 325 struct ts5500_dio_platform_data *pdata = pdev->dev.platform_data;
@@ -432,7 +432,7 @@ cleanup:
432 return ret; 432 return ret;
433} 433}
434 434
435static int __devexit ts5500_dio_remove(struct platform_device *pdev) 435static int ts5500_dio_remove(struct platform_device *pdev)
436{ 436{
437 struct ts5500_priv *priv = platform_get_drvdata(pdev); 437 struct ts5500_priv *priv = platform_get_drvdata(pdev);
438 438
@@ -455,7 +455,7 @@ static struct platform_driver ts5500_dio_driver = {
455 .owner = THIS_MODULE, 455 .owner = THIS_MODULE,
456 }, 456 },
457 .probe = ts5500_dio_probe, 457 .probe = ts5500_dio_probe,
458 .remove = __devexit_p(ts5500_dio_remove), 458 .remove = ts5500_dio_remove,
459 .id_table = ts5500_dio_ids, 459 .id_table = ts5500_dio_ids,
460}; 460};
461 461