aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-ti-ssp.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-ti-ssp.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-ti-ssp.c')
-rw-r--r--drivers/spi/spi-ti-ssp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-ti-ssp.c b/drivers/spi/spi-ti-ssp.c
index 3f6f6e81c655..46992cab65f1 100644
--- a/drivers/spi/spi-ti-ssp.c
+++ b/drivers/spi/spi-ti-ssp.c
@@ -289,7 +289,7 @@ error_unlock:
289 return error; 289 return error;
290} 290}
291 291
292static int __devinit ti_ssp_spi_probe(struct platform_device *pdev) 292static int ti_ssp_spi_probe(struct platform_device *pdev)
293{ 293{
294 const struct ti_ssp_spi_data *pdata; 294 const struct ti_ssp_spi_data *pdata;
295 struct ti_ssp_spi *hw; 295 struct ti_ssp_spi *hw;
@@ -357,7 +357,7 @@ error_wq:
357 return error; 357 return error;
358} 358}
359 359
360static int __devexit ti_ssp_spi_remove(struct platform_device *pdev) 360static int ti_ssp_spi_remove(struct platform_device *pdev)
361{ 361{
362 struct ti_ssp_spi *hw = platform_get_drvdata(pdev); 362 struct ti_ssp_spi *hw = platform_get_drvdata(pdev);
363 int error; 363 int error;
@@ -378,7 +378,7 @@ static int __devexit ti_ssp_spi_remove(struct platform_device *pdev)
378 378
379static struct platform_driver ti_ssp_spi_driver = { 379static struct platform_driver ti_ssp_spi_driver = {
380 .probe = ti_ssp_spi_probe, 380 .probe = ti_ssp_spi_probe,
381 .remove = __devexit_p(ti_ssp_spi_remove), 381 .remove = ti_ssp_spi_remove,
382 .driver = { 382 .driver = {
383 .name = "ti-ssp-spi", 383 .name = "ti-ssp-spi",
384 .owner = THIS_MODULE, 384 .owner = THIS_MODULE,