From patchwork Thu Jan 21 15:17:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Hugues Deschenes X-Patchwork-Id: 74370 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0LFHgWl029110 for ; Thu, 21 Jan 2010 15:17:42 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NXymz-0007U0-8b; Thu, 21 Jan 2010 15:17:41 +0000 Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NXymx-0007Tu-KJ for spi-devel-general@lists.sourceforge.net; Thu, 21 Jan 2010 15:17:39 +0000 X-ACL-Warn: Received: from mail.octasic.com ([70.54.254.106] helo=MAILEXCH.octasic.com) by sfi-mx-1.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NXymw-0003OV-Jh for spi-devel-general@lists.sourceforge.net; Thu, 21 Jan 2010 15:17:39 +0000 Received: from station520.octasic.com ([142.138.24.20]) by MAILEXCH.octasic.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 10:17:33 -0500 To: Wolfram Sang From: Jean-Hugues Deschenes Date: Thu, 21 Jan 2010 10:17:33 -0500 Message-ID: <20100121151659.6622.46967.stgit@station520.octasic.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-OriginalArrivalTime: 21 Jan 2010 15:17:33.0186 (UTC) FILETIME=[DAF28620:01CA9AAC] X-Sender-Verify: failed, postmaster X-Spam-Score: 0.3 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.5 VA_SENDER_VERIFY_POSTMASTER Unable to Verify postmaster@domain.tld -0.2 AWL AWL: From: address is in the auto white-list X-Headers-End: 1NXymw-0003OV-Jh Cc: spi-devel-general@lists.sourceforge.net, David Brownell Subject: [spi-devel-general] [PATCH] dw_spi_mmio code style fixups X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net 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 ");