diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-29 10:28:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-29 10:28:36 -0400 |
commit | 18c0635363364ca2fc2d1cbd65bbf918daf89d1a (patch) | |
tree | 6fd1975977b4ab190b77952ee8e263f66e3dc5f7 /drivers/spi/spi-fsl-espi.c | |
parent | 41684f67af75b04152a1714e1a5375dfb00ee3da (diff) | |
parent | 940ab88962bc1aff3273a8356d64577a6e386736 (diff) |
Merge branch 'spi/next' of git://git.secretlab.ca/git/linux-2.6
* 'spi/next' of git://git.secretlab.ca/git/linux-2.6:
drivercore: Add helper macro for platform_driver boilerplate
spi: irq: Remove IRQF_DISABLED
OMAP: SPI: Fix the trying to free nonexistent resource error
spi/spi-ep93xx: add module.h include
spi/tegra: fix compilation error in spi-tegra.c
spi: spi-dw: fix all sparse warnings
spi/spi-pl022: Call pl022_dma_remove(pl022) only if enable_dma is true
spi/spi-pl022: calculate_effective_freq() must set rate <= requested rate
spi/spi-pl022: Don't allocate more sg than required.
spi/spi-pl022: Use GFP_ATOMIC for allocation from tasklet
spi/spi-pl022: Resolve formatting issues
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
-rw-r--r-- | drivers/spi/spi-fsl-espi.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index 54e499d5f92c..d770f03705c3 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c | |||
@@ -744,18 +744,7 @@ static struct platform_driver fsl_espi_driver = { | |||
744 | .probe = of_fsl_espi_probe, | 744 | .probe = of_fsl_espi_probe, |
745 | .remove = __devexit_p(of_fsl_espi_remove), | 745 | .remove = __devexit_p(of_fsl_espi_remove), |
746 | }; | 746 | }; |
747 | 747 | module_platform_driver(fsl_espi_driver); | |
748 | static int __init fsl_espi_init(void) | ||
749 | { | ||
750 | return platform_driver_register(&fsl_espi_driver); | ||
751 | } | ||
752 | module_init(fsl_espi_init); | ||
753 | |||
754 | static void __exit fsl_espi_exit(void) | ||
755 | { | ||
756 | platform_driver_unregister(&fsl_espi_driver); | ||
757 | } | ||
758 | module_exit(fsl_espi_exit); | ||
759 | 748 | ||
760 | MODULE_AUTHOR("Mingkai Hu"); | 749 | MODULE_AUTHOR("Mingkai Hu"); |
761 | MODULE_DESCRIPTION("Enhanced Freescale SPI Driver"); | 750 | MODULE_DESCRIPTION("Enhanced Freescale SPI Driver"); |