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-octeon.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-octeon.c')
-rw-r--r-- | drivers/spi/spi-octeon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c index ea8fb2efb0f8..24daf964a409 100644 --- a/drivers/spi/spi-octeon.c +++ b/drivers/spi/spi-octeon.c | |||
@@ -266,7 +266,7 @@ static int octeon_spi_nop_transfer_hardware(struct spi_master *master) | |||
266 | return 0; | 266 | return 0; |
267 | } | 267 | } |
268 | 268 | ||
269 | static int __devinit octeon_spi_probe(struct platform_device *pdev) | 269 | static int octeon_spi_probe(struct platform_device *pdev) |
270 | { | 270 | { |
271 | 271 | ||
272 | struct resource *res_mem; | 272 | struct resource *res_mem; |
@@ -326,7 +326,7 @@ fail: | |||
326 | return err; | 326 | return err; |
327 | } | 327 | } |
328 | 328 | ||
329 | static int __devexit octeon_spi_remove(struct platform_device *pdev) | 329 | static int octeon_spi_remove(struct platform_device *pdev) |
330 | { | 330 | { |
331 | struct octeon_spi *p = platform_get_drvdata(pdev); | 331 | struct octeon_spi *p = platform_get_drvdata(pdev); |
332 | u64 register_base = p->register_base; | 332 | u64 register_base = p->register_base; |
@@ -352,7 +352,7 @@ static struct platform_driver octeon_spi_driver = { | |||
352 | .of_match_table = octeon_spi_match, | 352 | .of_match_table = octeon_spi_match, |
353 | }, | 353 | }, |
354 | .probe = octeon_spi_probe, | 354 | .probe = octeon_spi_probe, |
355 | .remove = __devexit_p(octeon_spi_remove), | 355 | .remove = octeon_spi_remove, |
356 | }; | 356 | }; |
357 | 357 | ||
358 | module_platform_driver(octeon_spi_driver); | 358 | module_platform_driver(octeon_spi_driver); |