diff options
Diffstat (limited to 'drivers/spi/spi-coldfire-qspi.c')
-rw-r--r-- | drivers/spi/spi-coldfire-qspi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-coldfire-qspi.c b/drivers/spi/spi-coldfire-qspi.c index 764bfee75920..58466b810da4 100644 --- a/drivers/spi/spi-coldfire-qspi.c +++ b/drivers/spi/spi-coldfire-qspi.c | |||
@@ -401,7 +401,7 @@ static int mcfqspi_setup(struct spi_device *spi) | |||
401 | return 0; | 401 | return 0; |
402 | } | 402 | } |
403 | 403 | ||
404 | static int __devinit mcfqspi_probe(struct platform_device *pdev) | 404 | static int mcfqspi_probe(struct platform_device *pdev) |
405 | { | 405 | { |
406 | struct spi_master *master; | 406 | struct spi_master *master; |
407 | struct mcfqspi *mcfqspi; | 407 | struct mcfqspi *mcfqspi; |
@@ -515,7 +515,7 @@ fail0: | |||
515 | return status; | 515 | return status; |
516 | } | 516 | } |
517 | 517 | ||
518 | static int __devexit mcfqspi_remove(struct platform_device *pdev) | 518 | static int mcfqspi_remove(struct platform_device *pdev) |
519 | { | 519 | { |
520 | struct spi_master *master = platform_get_drvdata(pdev); | 520 | struct spi_master *master = platform_get_drvdata(pdev); |
521 | struct mcfqspi *mcfqspi = spi_master_get_devdata(master); | 521 | struct mcfqspi *mcfqspi = spi_master_get_devdata(master); |
@@ -594,7 +594,7 @@ static struct platform_driver mcfqspi_driver = { | |||
594 | .driver.owner = THIS_MODULE, | 594 | .driver.owner = THIS_MODULE, |
595 | .driver.pm = &mcfqspi_pm, | 595 | .driver.pm = &mcfqspi_pm, |
596 | .probe = mcfqspi_probe, | 596 | .probe = mcfqspi_probe, |
597 | .remove = __devexit_p(mcfqspi_remove), | 597 | .remove = mcfqspi_remove, |
598 | }; | 598 | }; |
599 | module_platform_driver(mcfqspi_driver); | 599 | module_platform_driver(mcfqspi_driver); |
600 | 600 | ||