aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-topcliff-pch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-topcliff-pch.c')
-rw-r--r--drivers/spi/spi-topcliff-pch.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c
index 135f7406f4bf..f756481b0fea 100644
--- a/drivers/spi/spi-topcliff-pch.c
+++ b/drivers/spi/spi-topcliff-pch.c
@@ -1401,7 +1401,7 @@ static void pch_alloc_dma_buf(struct pch_spi_board_data *board_dat,
1401 PCH_BUF_SIZE, &dma->rx_buf_dma, GFP_KERNEL); 1401 PCH_BUF_SIZE, &dma->rx_buf_dma, GFP_KERNEL);
1402} 1402}
1403 1403
1404static int __devinit pch_spi_pd_probe(struct platform_device *plat_dev) 1404static int pch_spi_pd_probe(struct platform_device *plat_dev)
1405{ 1405{
1406 int ret; 1406 int ret;
1407 struct spi_master *master; 1407 struct spi_master *master;
@@ -1498,7 +1498,7 @@ err_pci_iomap:
1498 return ret; 1498 return ret;
1499} 1499}
1500 1500
1501static int __devexit pch_spi_pd_remove(struct platform_device *plat_dev) 1501static int pch_spi_pd_remove(struct platform_device *plat_dev)
1502{ 1502{
1503 struct pch_spi_board_data *board_dat = dev_get_platdata(&plat_dev->dev); 1503 struct pch_spi_board_data *board_dat = dev_get_platdata(&plat_dev->dev);
1504 struct pch_spi_data *data = platform_get_drvdata(plat_dev); 1504 struct pch_spi_data *data = platform_get_drvdata(plat_dev);
@@ -1619,12 +1619,12 @@ static struct platform_driver pch_spi_pd_driver = {
1619 .owner = THIS_MODULE, 1619 .owner = THIS_MODULE,
1620 }, 1620 },
1621 .probe = pch_spi_pd_probe, 1621 .probe = pch_spi_pd_probe,
1622 .remove = __devexit_p(pch_spi_pd_remove), 1622 .remove = pch_spi_pd_remove,
1623 .suspend = pch_spi_pd_suspend, 1623 .suspend = pch_spi_pd_suspend,
1624 .resume = pch_spi_pd_resume 1624 .resume = pch_spi_pd_resume
1625}; 1625};
1626 1626
1627static int __devinit pch_spi_probe(struct pci_dev *pdev, 1627static int pch_spi_probe(struct pci_dev *pdev,
1628 const struct pci_device_id *id) 1628 const struct pci_device_id *id)
1629{ 1629{
1630 struct pch_spi_board_data *board_dat; 1630 struct pch_spi_board_data *board_dat;
@@ -1705,7 +1705,7 @@ err_no_mem:
1705 return retval; 1705 return retval;
1706} 1706}
1707 1707
1708static void __devexit pch_spi_remove(struct pci_dev *pdev) 1708static void pch_spi_remove(struct pci_dev *pdev)
1709{ 1709{
1710 int i; 1710 int i;
1711 struct pch_pd_dev_save *pd_dev_save = pci_get_drvdata(pdev); 1711 struct pch_pd_dev_save *pd_dev_save = pci_get_drvdata(pdev);
@@ -1776,7 +1776,7 @@ static struct pci_driver pch_spi_pcidev_driver = {
1776 .name = "pch_spi", 1776 .name = "pch_spi",
1777 .id_table = pch_spi_pcidev_id, 1777 .id_table = pch_spi_pcidev_id,
1778 .probe = pch_spi_probe, 1778 .probe = pch_spi_probe,
1779 .remove = __devexit_p(pch_spi_remove), 1779 .remove = pch_spi_remove,
1780 .suspend = pch_spi_suspend, 1780 .suspend = pch_spi_suspend,
1781 .resume = pch_spi_resume, 1781 .resume = pch_spi_resume,
1782}; 1782};