diff options
author | Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com> | 2010-01-21 09:55:42 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-01-21 09:55:42 -0700 |
commit | 0a4c1d7d446d3ed6179f907541d180e49b56d4f4 (patch) | |
tree | 9910547b48214c443228cef7f134a93ae95e260d /drivers/spi | |
parent | f7b6fd6d1d3833529f1626c761ba7e338586d35e (diff) | |
download | kernel_samsung_smdk4412-0a4c1d7d446d3ed6179f907541d180e49b56d4f4.tar.gz kernel_samsung_smdk4412-0a4c1d7d446d3ed6179f907541d180e49b56d4f4.tar.bz2 kernel_samsung_smdk4412-0a4c1d7d446d3ed6179f907541d180e49b56d4f4.zip |
spi/dw_spi: mmio code style fixups
Minor code style cleanups following comments by Wolfram Sang
Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/dw_spi_mmio.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/spi/dw_spi_mmio.c b/drivers/spi/dw_spi_mmio.c index 26c4b49bdd5..e35b45ac517 100644 --- a/drivers/spi/dw_spi_mmio.c +++ b/drivers/spi/dw_spi_mmio.c @@ -17,8 +17,8 @@ #define DRIVER_NAME "dw_spi_mmio" struct dw_spi_mmio { - struct dw_spi dws; - struct clk *clk; + struct dw_spi dws; + struct clk *clk; }; static int __devinit dw_spi_mmio_probe(struct platform_device *pdev) @@ -134,13 +134,12 @@ static int __init dw_spi_mmio_init(void) { return platform_driver_probe(&dw_spi_mmio_driver, dw_spi_mmio_probe); } +module_init(dw_spi_mmio_init); static void __exit dw_spi_mmio_exit(void) { platform_driver_unregister(&dw_spi_mmio_driver); } - -module_init(dw_spi_mmio_init); module_exit(dw_spi_mmio_exit); MODULE_AUTHOR("Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>"); |