diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-12-07 11:57:14 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-12-07 12:06:43 -0500 |
commit | fd4a319bc933ae93e68935b21924a9ca4ba2d060 (patch) | |
tree | 6c813c841e056164fe22bd91a4cd2295028d497d /drivers/spi/spi-bcm63xx.c | |
parent | 7730cba2a50332c194f50a58b86359ea39a82bd1 (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-bcm63xx.c')
-rw-r--r-- | drivers/spi/spi-bcm63xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 6d97047d9242..f44ab5508535 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c | |||
@@ -329,7 +329,7 @@ static irqreturn_t bcm63xx_spi_interrupt(int irq, void *dev_id) | |||
329 | } | 329 | } |
330 | 330 | ||
331 | 331 | ||
332 | static int __devinit bcm63xx_spi_probe(struct platform_device *pdev) | 332 | static int bcm63xx_spi_probe(struct platform_device *pdev) |
333 | { | 333 | { |
334 | struct resource *r; | 334 | struct resource *r; |
335 | struct device *dev = &pdev->dev; | 335 | struct device *dev = &pdev->dev; |
@@ -449,7 +449,7 @@ out: | |||
449 | return ret; | 449 | return ret; |
450 | } | 450 | } |
451 | 451 | ||
452 | static int __devexit bcm63xx_spi_remove(struct platform_device *pdev) | 452 | static int bcm63xx_spi_remove(struct platform_device *pdev) |
453 | { | 453 | { |
454 | struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); | 454 | struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); |
455 | struct bcm63xx_spi *bs = spi_master_get_devdata(master); | 455 | struct bcm63xx_spi *bs = spi_master_get_devdata(master); |
@@ -514,7 +514,7 @@ static struct platform_driver bcm63xx_spi_driver = { | |||
514 | .pm = BCM63XX_SPI_PM_OPS, | 514 | .pm = BCM63XX_SPI_PM_OPS, |
515 | }, | 515 | }, |
516 | .probe = bcm63xx_spi_probe, | 516 | .probe = bcm63xx_spi_probe, |
517 | .remove = __devexit_p(bcm63xx_spi_remove), | 517 | .remove = bcm63xx_spi_remove, |
518 | }; | 518 | }; |
519 | 519 | ||
520 | module_platform_driver(bcm63xx_spi_driver); | 520 | module_platform_driver(bcm63xx_spi_driver); |