linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dw_spi_mmio code style fixups
@ 2010-01-21 15:17 Jean-Hugues Deschenes
  0 siblings, 0 replies; only message in thread
From: Jean-Hugues Deschenes @ 2010-01-21 15:17 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, David Brownell

Minor code style cleanups following comments by Wolfram Sang

Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>
---
 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 26c4b49..e35b45a 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-YGVykHU+fedBDgjK7y7TUQ@public.gmane.org>");


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-21 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-21 15:17 [PATCH] dw_spi_mmio code style fixups Jean-Hugues Deschenes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).