aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-espi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
-rw-r--r--drivers/spi/spi-fsl-espi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c
index 27bdc47b5250..24610ca8955d 100644
--- a/drivers/spi/spi-fsl-espi.c
+++ b/drivers/spi/spi-fsl-espi.c
@@ -587,7 +587,7 @@ static void fsl_espi_remove(struct mpc8xxx_spi *mspi)
587 iounmap(mspi->reg_base); 587 iounmap(mspi->reg_base);
588} 588}
589 589
590static struct spi_master * __devinit fsl_espi_probe(struct device *dev, 590static struct spi_master * fsl_espi_probe(struct device *dev,
591 struct resource *mem, unsigned int irq) 591 struct resource *mem, unsigned int irq)
592{ 592{
593 struct fsl_spi_platform_data *pdata = dev->platform_data; 593 struct fsl_spi_platform_data *pdata = dev->platform_data;
@@ -686,7 +686,7 @@ static int of_fsl_espi_get_chipselects(struct device *dev)
686 return 0; 686 return 0;
687} 687}
688 688
689static int __devinit of_fsl_espi_probe(struct platform_device *ofdev) 689static int of_fsl_espi_probe(struct platform_device *ofdev)
690{ 690{
691 struct device *dev = &ofdev->dev; 691 struct device *dev = &ofdev->dev;
692 struct device_node *np = ofdev->dev.of_node; 692 struct device_node *np = ofdev->dev.of_node;
@@ -725,7 +725,7 @@ err:
725 return ret; 725 return ret;
726} 726}
727 727
728static int __devexit of_fsl_espi_remove(struct platform_device *dev) 728static int of_fsl_espi_remove(struct platform_device *dev)
729{ 729{
730 return mpc8xxx_spi_remove(&dev->dev); 730 return mpc8xxx_spi_remove(&dev->dev);
731} 731}
@@ -743,7 +743,7 @@ static struct platform_driver fsl_espi_driver = {
743 .of_match_table = of_fsl_espi_match, 743 .of_match_table = of_fsl_espi_match,
744 }, 744 },
745 .probe = of_fsl_espi_probe, 745 .probe = of_fsl_espi_probe,
746 .remove = __devexit_p(of_fsl_espi_remove), 746 .remove = of_fsl_espi_remove,
747}; 747};
748module_platform_driver(fsl_espi_driver); 748module_platform_driver(fsl_espi_driver);
749 749