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-sirf.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-sirf.c')
-rw-r--r-- | drivers/spi/spi-sirf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c index ecc3d9763d10..e0f43a512e84 100644 --- a/drivers/spi/spi-sirf.c +++ b/drivers/spi/spi-sirf.c | |||
@@ -479,7 +479,7 @@ static int spi_sirfsoc_setup(struct spi_device *spi) | |||
479 | return spi_sirfsoc_setup_transfer(spi, NULL); | 479 | return spi_sirfsoc_setup_transfer(spi, NULL); |
480 | } | 480 | } |
481 | 481 | ||
482 | static int __devinit spi_sirfsoc_probe(struct platform_device *pdev) | 482 | static int spi_sirfsoc_probe(struct platform_device *pdev) |
483 | { | 483 | { |
484 | struct sirfsoc_spi *sspi; | 484 | struct sirfsoc_spi *sspi; |
485 | struct spi_master *master; | 485 | struct spi_master *master; |
@@ -604,7 +604,7 @@ err_cs: | |||
604 | return ret; | 604 | return ret; |
605 | } | 605 | } |
606 | 606 | ||
607 | static int __devexit spi_sirfsoc_remove(struct platform_device *pdev) | 607 | static int spi_sirfsoc_remove(struct platform_device *pdev) |
608 | { | 608 | { |
609 | struct spi_master *master; | 609 | struct spi_master *master; |
610 | struct sirfsoc_spi *sspi; | 610 | struct sirfsoc_spi *sspi; |
@@ -673,7 +673,7 @@ static struct platform_driver spi_sirfsoc_driver = { | |||
673 | .of_match_table = spi_sirfsoc_of_match, | 673 | .of_match_table = spi_sirfsoc_of_match, |
674 | }, | 674 | }, |
675 | .probe = spi_sirfsoc_probe, | 675 | .probe = spi_sirfsoc_probe, |
676 | .remove = __devexit_p(spi_sirfsoc_remove), | 676 | .remove = spi_sirfsoc_remove, |
677 | }; | 677 | }; |
678 | module_platform_driver(spi_sirfsoc_driver); | 678 | module_platform_driver(spi_sirfsoc_driver); |
679 | 679 | ||