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-sh.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-sh.c')
-rw-r--r-- | drivers/spi/spi-sh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-sh.c b/drivers/spi/spi-sh.c index 79442c31bcd9..3c3600a994bd 100644 --- a/drivers/spi/spi-sh.c +++ b/drivers/spi/spi-sh.c | |||
@@ -432,7 +432,7 @@ static irqreturn_t spi_sh_irq(int irq, void *_ss) | |||
432 | return IRQ_HANDLED; | 432 | return IRQ_HANDLED; |
433 | } | 433 | } |
434 | 434 | ||
435 | static int __devexit spi_sh_remove(struct platform_device *pdev) | 435 | static int spi_sh_remove(struct platform_device *pdev) |
436 | { | 436 | { |
437 | struct spi_sh_data *ss = dev_get_drvdata(&pdev->dev); | 437 | struct spi_sh_data *ss = dev_get_drvdata(&pdev->dev); |
438 | 438 | ||
@@ -444,7 +444,7 @@ static int __devexit spi_sh_remove(struct platform_device *pdev) | |||
444 | return 0; | 444 | return 0; |
445 | } | 445 | } |
446 | 446 | ||
447 | static int __devinit spi_sh_probe(struct platform_device *pdev) | 447 | static int spi_sh_probe(struct platform_device *pdev) |
448 | { | 448 | { |
449 | struct resource *res; | 449 | struct resource *res; |
450 | struct spi_master *master; | 450 | struct spi_master *master; |
@@ -539,7 +539,7 @@ static int __devinit spi_sh_probe(struct platform_device *pdev) | |||
539 | 539 | ||
540 | static struct platform_driver spi_sh_driver = { | 540 | static struct platform_driver spi_sh_driver = { |
541 | .probe = spi_sh_probe, | 541 | .probe = spi_sh_probe, |
542 | .remove = __devexit_p(spi_sh_remove), | 542 | .remove = spi_sh_remove, |
543 | .driver = { | 543 | .driver = { |
544 | .name = "sh_spi", | 544 | .name = "sh_spi", |
545 | .owner = THIS_MODULE, | 545 | .owner = THIS_MODULE, |