aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ezx-pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/ezx-pcap.c')
-rw-r--r--drivers/mfd/ezx-pcap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c
index db662e2dcfa..b7a61f0f27a 100644
--- a/drivers/mfd/ezx-pcap.c
+++ b/drivers/mfd/ezx-pcap.c
@@ -371,7 +371,7 @@ static int pcap_remove_subdev(struct device *dev, void *unused)
371 return 0; 371 return 0;
372} 372}
373 373
374static int __devinit pcap_add_subdev(struct pcap_chip *pcap, 374static int pcap_add_subdev(struct pcap_chip *pcap,
375 struct pcap_subdev *subdev) 375 struct pcap_subdev *subdev)
376{ 376{
377 struct platform_device *pdev; 377 struct platform_device *pdev;
@@ -391,7 +391,7 @@ static int __devinit pcap_add_subdev(struct pcap_chip *pcap,
391 return ret; 391 return ret;
392} 392}
393 393
394static int __devexit ezx_pcap_remove(struct spi_device *spi) 394static int ezx_pcap_remove(struct spi_device *spi)
395{ 395{
396 struct pcap_chip *pcap = dev_get_drvdata(&spi->dev); 396 struct pcap_chip *pcap = dev_get_drvdata(&spi->dev);
397 struct pcap_platform_data *pdata = spi->dev.platform_data; 397 struct pcap_platform_data *pdata = spi->dev.platform_data;
@@ -420,7 +420,7 @@ static int __devexit ezx_pcap_remove(struct spi_device *spi)
420 return 0; 420 return 0;
421} 421}
422 422
423static int __devinit ezx_pcap_probe(struct spi_device *spi) 423static int ezx_pcap_probe(struct spi_device *spi)
424{ 424{
425 struct pcap_platform_data *pdata = spi->dev.platform_data; 425 struct pcap_platform_data *pdata = spi->dev.platform_data;
426 struct pcap_chip *pcap; 426 struct pcap_chip *pcap;
@@ -525,7 +525,7 @@ ret:
525 525
526static struct spi_driver ezxpcap_driver = { 526static struct spi_driver ezxpcap_driver = {
527 .probe = ezx_pcap_probe, 527 .probe = ezx_pcap_probe,
528 .remove = __devexit_p(ezx_pcap_remove), 528 .remove = ezx_pcap_remove,
529 .driver = { 529 .driver = {
530 .name = "ezx-pcap", 530 .name = "ezx-pcap",
531 .owner = THIS_MODULE, 531 .owner = THIS_MODULE,