aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-oc-tiny.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-oc-tiny.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-oc-tiny.c')
-rw-r--r--drivers/spi/spi-oc-tiny.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/spi/spi-oc-tiny.c b/drivers/spi/spi-oc-tiny.c
index 9d9071b730be..432e66ec3088 100644
--- a/drivers/spi/spi-oc-tiny.c
+++ b/drivers/spi/spi-oc-tiny.c
@@ -243,7 +243,7 @@ static irqreturn_t tiny_spi_irq(int irq, void *dev)
243#ifdef CONFIG_OF 243#ifdef CONFIG_OF
244#include <linux/of_gpio.h> 244#include <linux/of_gpio.h>
245 245
246static int __devinit tiny_spi_of_probe(struct platform_device *pdev) 246static int tiny_spi_of_probe(struct platform_device *pdev)
247{ 247{
248 struct tiny_spi *hw = platform_get_drvdata(pdev); 248 struct tiny_spi *hw = platform_get_drvdata(pdev);
249 struct device_node *np = pdev->dev.of_node; 249 struct device_node *np = pdev->dev.of_node;
@@ -277,13 +277,13 @@ static int __devinit tiny_spi_of_probe(struct platform_device *pdev)
277 return 0; 277 return 0;
278} 278}
279#else /* !CONFIG_OF */ 279#else /* !CONFIG_OF */
280static int __devinit tiny_spi_of_probe(struct platform_device *pdev) 280static int tiny_spi_of_probe(struct platform_device *pdev)
281{ 281{
282 return 0; 282 return 0;
283} 283}
284#endif /* CONFIG_OF */ 284#endif /* CONFIG_OF */
285 285
286static int __devinit tiny_spi_probe(struct platform_device *pdev) 286static int tiny_spi_probe(struct platform_device *pdev)
287{ 287{
288 struct tiny_spi_platform_data *platp = pdev->dev.platform_data; 288 struct tiny_spi_platform_data *platp = pdev->dev.platform_data;
289 struct tiny_spi *hw; 289 struct tiny_spi *hw;
@@ -373,7 +373,7 @@ exit:
373 return err; 373 return err;
374} 374}
375 375
376static int __devexit tiny_spi_remove(struct platform_device *pdev) 376static int tiny_spi_remove(struct platform_device *pdev)
377{ 377{
378 struct tiny_spi *hw = platform_get_drvdata(pdev); 378 struct tiny_spi *hw = platform_get_drvdata(pdev);
379 struct spi_master *master = hw->bitbang.master; 379 struct spi_master *master = hw->bitbang.master;
@@ -399,7 +399,7 @@ MODULE_DEVICE_TABLE(of, tiny_spi_match);
399 399
400static struct platform_driver tiny_spi_driver = { 400static struct platform_driver tiny_spi_driver = {
401 .probe = tiny_spi_probe, 401 .probe = tiny_spi_probe,
402 .remove = __devexit_p(tiny_spi_remove), 402 .remove = tiny_spi_remove,
403 .driver = { 403 .driver = {
404 .name = DRV_NAME, 404 .name = DRV_NAME,
405 .owner = THIS_MODULE, 405 .owner = THIS_MODULE,