aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-nuc900.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-nuc900.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-nuc900.c')
-rw-r--r--drivers/spi/spi-nuc900.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-nuc900.c b/drivers/spi/spi-nuc900.c
index a6eca6ffdabe..b3f9ec83ef73 100644
--- a/drivers/spi/spi-nuc900.c
+++ b/drivers/spi/spi-nuc900.c
@@ -346,7 +346,7 @@ static void nuc900_init_spi(struct nuc900_spi *hw)
346 nuc900_enable_int(hw); 346 nuc900_enable_int(hw);
347} 347}
348 348
349static int __devinit nuc900_spi_probe(struct platform_device *pdev) 349static int nuc900_spi_probe(struct platform_device *pdev)
350{ 350{
351 struct nuc900_spi *hw; 351 struct nuc900_spi *hw;
352 struct spi_master *master; 352 struct spi_master *master;
@@ -453,7 +453,7 @@ err_nomem:
453 return err; 453 return err;
454} 454}
455 455
456static int __devexit nuc900_spi_remove(struct platform_device *dev) 456static int nuc900_spi_remove(struct platform_device *dev)
457{ 457{
458 struct nuc900_spi *hw = platform_get_drvdata(dev); 458 struct nuc900_spi *hw = platform_get_drvdata(dev);
459 459
@@ -477,7 +477,7 @@ static int __devexit nuc900_spi_remove(struct platform_device *dev)
477 477
478static struct platform_driver nuc900_spi_driver = { 478static struct platform_driver nuc900_spi_driver = {
479 .probe = nuc900_spi_probe, 479 .probe = nuc900_spi_probe,
480 .remove = __devexit_p(nuc900_spi_remove), 480 .remove = nuc900_spi_remove,
481 .driver = { 481 .driver = {
482 .name = "nuc900-spi", 482 .name = "nuc900-spi",
483 .owner = THIS_MODULE, 483 .owner = THIS_MODULE,