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-s3c24xx.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-s3c24xx.c')
-rw-r--r-- | drivers/spi/spi-s3c24xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index a2a080b7f42b..02d64603fcc5 100644 --- a/drivers/spi/spi-s3c24xx.c +++ b/drivers/spi/spi-s3c24xx.c | |||
@@ -506,7 +506,7 @@ static void s3c24xx_spi_initialsetup(struct s3c24xx_spi *hw) | |||
506 | } | 506 | } |
507 | } | 507 | } |
508 | 508 | ||
509 | static int __devinit s3c24xx_spi_probe(struct platform_device *pdev) | 509 | static int s3c24xx_spi_probe(struct platform_device *pdev) |
510 | { | 510 | { |
511 | struct s3c2410_spi_info *pdata; | 511 | struct s3c2410_spi_info *pdata; |
512 | struct s3c24xx_spi *hw; | 512 | struct s3c24xx_spi *hw; |
@@ -663,7 +663,7 @@ static int __devinit s3c24xx_spi_probe(struct platform_device *pdev) | |||
663 | return err; | 663 | return err; |
664 | } | 664 | } |
665 | 665 | ||
666 | static int __devexit s3c24xx_spi_remove(struct platform_device *dev) | 666 | static int s3c24xx_spi_remove(struct platform_device *dev) |
667 | { | 667 | { |
668 | struct s3c24xx_spi *hw = platform_get_drvdata(dev); | 668 | struct s3c24xx_spi *hw = platform_get_drvdata(dev); |
669 | 669 | ||
@@ -722,7 +722,7 @@ static const struct dev_pm_ops s3c24xx_spi_pmops = { | |||
722 | MODULE_ALIAS("platform:s3c2410-spi"); | 722 | MODULE_ALIAS("platform:s3c2410-spi"); |
723 | static struct platform_driver s3c24xx_spi_driver = { | 723 | static struct platform_driver s3c24xx_spi_driver = { |
724 | .probe = s3c24xx_spi_probe, | 724 | .probe = s3c24xx_spi_probe, |
725 | .remove = __devexit_p(s3c24xx_spi_remove), | 725 | .remove = s3c24xx_spi_remove, |
726 | .driver = { | 726 | .driver = { |
727 | .name = "s3c2410-spi", | 727 | .name = "s3c2410-spi", |
728 | .owner = THIS_MODULE, | 728 | .owner = THIS_MODULE, |