aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-rspi.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-12-07 11:57:14 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-12-07 12:06:43 -0500
commitfd4a319bc933ae93e68935b21924a9ca4ba2d060 (patch)
tree6c813c841e056164fe22bd91a4cd2295028d497d /drivers/spi/spi-rspi.c
parent7730cba2a50332c194f50a58b86359ea39a82bd1 (diff)
spi: Remove HOTPLUG section attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Bill Pemberton has done most of the legwork on this series. I've used his script to purge the attributes from the drivers/gpio tree. Reported-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-rspi.c')
-rw-r--r--drivers/spi/spi-rspi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c
index 30faf6d4ab9..902f2fb902d 100644
--- a/drivers/spi/spi-rspi.c
+++ b/drivers/spi/spi-rspi.c
@@ -661,7 +661,7 @@ static irqreturn_t rspi_irq(int irq, void *_sr)
661 return ret; 661 return ret;
662} 662}
663 663
664static int __devinit rspi_request_dma(struct rspi_data *rspi, 664static int rspi_request_dma(struct rspi_data *rspi,
665 struct platform_device *pdev) 665 struct platform_device *pdev)
666{ 666{
667 struct rspi_plat_data *rspi_pd = pdev->dev.platform_data; 667 struct rspi_plat_data *rspi_pd = pdev->dev.platform_data;
@@ -709,7 +709,7 @@ static int __devinit rspi_request_dma(struct rspi_data *rspi,
709 return 0; 709 return 0;
710} 710}
711 711
712static void __devexit rspi_release_dma(struct rspi_data *rspi) 712static void rspi_release_dma(struct rspi_data *rspi)
713{ 713{
714 if (rspi->chan_tx) 714 if (rspi->chan_tx)
715 dma_release_channel(rspi->chan_tx); 715 dma_release_channel(rspi->chan_tx);
@@ -717,7 +717,7 @@ static void __devexit rspi_release_dma(struct rspi_data *rspi)
717 dma_release_channel(rspi->chan_rx); 717 dma_release_channel(rspi->chan_rx);
718} 718}
719 719
720static int __devexit rspi_remove(struct platform_device *pdev) 720static int rspi_remove(struct platform_device *pdev)
721{ 721{
722 struct rspi_data *rspi = dev_get_drvdata(&pdev->dev); 722 struct rspi_data *rspi = dev_get_drvdata(&pdev->dev);
723 723
@@ -731,7 +731,7 @@ static int __devexit rspi_remove(struct platform_device *pdev)
731 return 0; 731 return 0;
732} 732}
733 733
734static int __devinit rspi_probe(struct platform_device *pdev) 734static int rspi_probe(struct platform_device *pdev)
735{ 735{
736 struct resource *res; 736 struct resource *res;
737 struct spi_master *master; 737 struct spi_master *master;
@@ -827,7 +827,7 @@ error1:
827 827
828static struct platform_driver rspi_driver = { 828static struct platform_driver rspi_driver = {
829 .probe = rspi_probe, 829 .probe = rspi_probe,
830 .remove = __devexit_p(rspi_remove), 830 .remove = rspi_remove,
831 .driver = { 831 .driver = {
832 .name = "rspi", 832 .name = "rspi",
833 .owner = THIS_MODULE, 833 .owner = THIS_MODULE,