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-psc.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-psc.c')
-rw-r--r-- | drivers/spi/spi-mpc52xx-psc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-mpc52xx-psc.c b/drivers/spi/spi-mpc52xx-psc.c index bd47d262d53f..291120b37dbb 100644 --- a/drivers/spi/spi-mpc52xx-psc.c +++ b/drivers/spi/spi-mpc52xx-psc.c | |||
@@ -363,7 +363,7 @@ static irqreturn_t mpc52xx_psc_spi_isr(int irq, void *dev_id) | |||
363 | } | 363 | } |
364 | 364 | ||
365 | /* bus_num is used only for the case dev->platform_data == NULL */ | 365 | /* bus_num is used only for the case dev->platform_data == NULL */ |
366 | static int __devinit mpc52xx_psc_spi_do_probe(struct device *dev, u32 regaddr, | 366 | static int mpc52xx_psc_spi_do_probe(struct device *dev, u32 regaddr, |
367 | u32 size, unsigned int irq, s16 bus_num) | 367 | u32 size, unsigned int irq, s16 bus_num) |
368 | { | 368 | { |
369 | struct fsl_spi_platform_data *pdata = dev->platform_data; | 369 | struct fsl_spi_platform_data *pdata = dev->platform_data; |
@@ -450,7 +450,7 @@ free_master: | |||
450 | return ret; | 450 | return ret; |
451 | } | 451 | } |
452 | 452 | ||
453 | static int __devinit mpc52xx_psc_spi_of_probe(struct platform_device *op) | 453 | static int mpc52xx_psc_spi_of_probe(struct platform_device *op) |
454 | { | 454 | { |
455 | const u32 *regaddr_p; | 455 | const u32 *regaddr_p; |
456 | u64 regaddr64, size64; | 456 | u64 regaddr64, size64; |
@@ -479,7 +479,7 @@ static int __devinit mpc52xx_psc_spi_of_probe(struct platform_device *op) | |||
479 | irq_of_parse_and_map(op->dev.of_node, 0), id); | 479 | irq_of_parse_and_map(op->dev.of_node, 0), id); |
480 | } | 480 | } |
481 | 481 | ||
482 | static int __devexit mpc52xx_psc_spi_of_remove(struct platform_device *op) | 482 | static int mpc52xx_psc_spi_of_remove(struct platform_device *op) |
483 | { | 483 | { |
484 | struct spi_master *master = spi_master_get(dev_get_drvdata(&op->dev)); | 484 | struct spi_master *master = spi_master_get(dev_get_drvdata(&op->dev)); |
485 | struct mpc52xx_psc_spi *mps = spi_master_get_devdata(master); | 485 | struct mpc52xx_psc_spi *mps = spi_master_get_devdata(master); |
@@ -505,7 +505,7 @@ MODULE_DEVICE_TABLE(of, mpc52xx_psc_spi_of_match); | |||
505 | 505 | ||
506 | static struct platform_driver mpc52xx_psc_spi_of_driver = { | 506 | static struct platform_driver mpc52xx_psc_spi_of_driver = { |
507 | .probe = mpc52xx_psc_spi_of_probe, | 507 | .probe = mpc52xx_psc_spi_of_probe, |
508 | .remove = __devexit_p(mpc52xx_psc_spi_of_remove), | 508 | .remove = mpc52xx_psc_spi_of_remove, |
509 | .driver = { | 509 | .driver = { |
510 | .name = "mpc52xx-psc-spi", | 510 | .name = "mpc52xx-psc-spi", |
511 | .owner = THIS_MODULE, | 511 | .owner = THIS_MODULE, |