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-mpc52xx.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-mpc52xx.c')
-rw-r--r-- | drivers/spi/spi-mpc52xx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-mpc52xx.c b/drivers/spi/spi-mpc52xx.c index 045410650212..29f77056eedc 100644 --- a/drivers/spi/spi-mpc52xx.c +++ b/drivers/spi/spi-mpc52xx.c | |||
@@ -390,7 +390,7 @@ static int mpc52xx_spi_transfer(struct spi_device *spi, struct spi_message *m) | |||
390 | /* | 390 | /* |
391 | * OF Platform Bus Binding | 391 | * OF Platform Bus Binding |
392 | */ | 392 | */ |
393 | static int __devinit mpc52xx_spi_probe(struct platform_device *op) | 393 | static int mpc52xx_spi_probe(struct platform_device *op) |
394 | { | 394 | { |
395 | struct spi_master *master; | 395 | struct spi_master *master; |
396 | struct mpc52xx_spi *ms; | 396 | struct mpc52xx_spi *ms; |
@@ -527,7 +527,7 @@ static int __devinit mpc52xx_spi_probe(struct platform_device *op) | |||
527 | return rc; | 527 | return rc; |
528 | } | 528 | } |
529 | 529 | ||
530 | static int __devexit mpc52xx_spi_remove(struct platform_device *op) | 530 | static int mpc52xx_spi_remove(struct platform_device *op) |
531 | { | 531 | { |
532 | struct spi_master *master = spi_master_get(dev_get_drvdata(&op->dev)); | 532 | struct spi_master *master = spi_master_get(dev_get_drvdata(&op->dev)); |
533 | struct mpc52xx_spi *ms = spi_master_get_devdata(master); | 533 | struct mpc52xx_spi *ms = spi_master_get_devdata(master); |
@@ -547,7 +547,7 @@ static int __devexit mpc52xx_spi_remove(struct platform_device *op) | |||
547 | return 0; | 547 | return 0; |
548 | } | 548 | } |
549 | 549 | ||
550 | static const struct of_device_id mpc52xx_spi_match[] __devinitconst = { | 550 | static const struct of_device_id mpc52xx_spi_match[] = { |
551 | { .compatible = "fsl,mpc5200-spi", }, | 551 | { .compatible = "fsl,mpc5200-spi", }, |
552 | {} | 552 | {} |
553 | }; | 553 | }; |
@@ -560,6 +560,6 @@ static struct platform_driver mpc52xx_spi_of_driver = { | |||
560 | .of_match_table = mpc52xx_spi_match, | 560 | .of_match_table = mpc52xx_spi_match, |
561 | }, | 561 | }, |
562 | .probe = mpc52xx_spi_probe, | 562 | .probe = mpc52xx_spi_probe, |
563 | .remove = __devexit_p(mpc52xx_spi_remove), | 563 | .remove = mpc52xx_spi_remove, |
564 | }; | 564 | }; |
565 | module_platform_driver(mpc52xx_spi_of_driver); | 565 | module_platform_driver(mpc52xx_spi_of_driver); |