From patchwork Mon Sep 29 02:57:06 2014
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Xiubo Li
X-Patchwork-Id: 4993141
Return-Path:
X-Original-To: patchwork-linux-spi@patchwork.kernel.org
Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org
Received: from mail.kernel.org (mail.kernel.org [198.145.19.201])
by patchwork2.web.kernel.org (Postfix) with ESMTP id A8B4CBEEA6
for ;
Mon, 29 Sep 2014 03:30:53 +0000 (UTC)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 8618A20265
for ;
Mon, 29 Sep 2014 03:30:52 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by mail.kernel.org (Postfix) with ESMTP id 4566120138
for ;
Mon, 29 Sep 2014 03:30:48 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1750840AbaI2Dar (ORCPT
);
Sun, 28 Sep 2014 23:30:47 -0400
Received: from mail-bn1bon0130.outbound.protection.outlook.com
([157.56.111.130]:24040
"EHLO na01-bn1-obe.outbound.protection.outlook.com"
rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP
id S1750819AbaI2Dar (ORCPT );
Sun, 28 Sep 2014 23:30:47 -0400
X-Greylist: delayed 1991 seconds by postgrey-1.27 at vger.kernel.org;
Sun, 28 Sep 2014 23:30:47 EDT
Received: from CH1PR03CA007.namprd03.prod.outlook.com (10.255.156.152) by
BY2PR0301MB0613.namprd03.prod.outlook.com (25.160.125.23) with
Microsoft SMTP
Server (TLS) id 15.0.1039.15; Mon, 29 Sep 2014 02:57:32 +0000
Received: from BL2FFO11FD050.protection.gbl (10.255.156.132) by
CH1PR03CA007.outlook.office365.com (10.255.156.152) with Microsoft
SMTP
Server (TLS) id 15.0.1039.15 via Frontend Transport; Mon, 29 Sep 2014
02:57:31 +0000
Received: from az84smr01.freescale.net (192.88.158.2) by
BL2FFO11FD050.mail.protection.outlook.com (10.173.161.212) with
Microsoft SMTP Server (TLS) id 15.0.1029.15 via Frontend Transport;
Mon, 29 Sep 2014 02:57:31 +0000
Received: from titan.ap.freescale.net ([10.192.208.233])
by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id
s8T2vSsH011681; Sun, 28 Sep 2014 19:57:29 -0700
From: Xiubo Li
To:
CC: , Xiubo Li ,
Chao Fu
Subject: [PATCH] spi: fsl: Sort include headers alphabetically
Date: Mon, 29 Sep 2014 10:57:06 +0800
Message-ID: <1411959426-3060-1-git-send-email-Li.Xiubo@freescale.com>
X-Mailer: git-send-email 2.1.0.27.g96db324
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI;
EFV:NLI; SFV:NSPM;
SFS:(10019020)(6009001)(199003)(189002)(77156001)(2351001)(50226001)(76482002)(104166001)(110136001)(229853001)(120916001)(50986999)(47776003)(21056001)(20776003)(102836001)(4396001)(90102001)(84676001)(26826002)(48376002)(50466002)(107046002)(97736003)(89996001)(95666004)(85306004)(87936001)(99396003)(105606002)(83322001)(19580395003)(19580405001)(31966008)(64706001)(88136002)(62966002)(74662003)(74502003)(77982003)(87286001)(81542003)(575784001)(93916002)(104016003)(46102003)(69596002)(92726001)(86362001)(81342003)(80022003)(79102003)(44976005)(6806004)(106466001)(83072002)(85852003)(36756003)(92566001)(68736004)(10300001)(81156004)(2004002);
DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0301MB0613;
H:az84smr01.freescale.net; FPR:; MLV:ovrnspm;
PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en;
MIME-Version: 1.0
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0613;
X-Forefront-PRVS: 034902F5BC
Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not
designate 192.88.158.2 as permitted sender)
receiver=protection.outlook.com;
client-ip=192.88.158.2; helo=az84smr01.freescale.net;
Authentication-Results: spf=fail (sender IP is 192.88.158.2)
smtp.mailfrom=Li.Xiubo@freescale.com;
X-OriginatorOrg: freescale.com
Sender: linux-spi-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: linux-spi@vger.kernel.org
X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI,
RP_MATCHES_RCVD,
UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org
X-Virus-Scanned: ClamAV using ClamSMTP
Sort all the include headers alphabetically for the freescale
spi drivers. If the inlcude headers sorted out of order, maybe
the best logical choice is to append new ones after the exist
ones, while this may create a lot of potential for duplicates
and conflicts for each diffenent changes will add new headers
in the same location.
Signed-off-by: Xiubo Li
Cc: Chao Fu
---
drivers/spi/spi-fsl-cpm.c | 14 +++++++-------
drivers/spi/spi-fsl-dspi.c | 18 +++++++++---------
drivers/spi/spi-fsl-espi.c | 12 ++++++------
drivers/spi/spi-fsl-lib.c | 6 +++---
drivers/spi/spi-fsl-spi.c | 22 +++++++++++-----------
5 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/drivers/spi/spi-fsl-cpm.c b/drivers/spi/spi-fsl-cpm.c
index 54b0637..c5dd20b 100644
--- a/drivers/spi/spi-fsl-cpm.c
+++ b/drivers/spi/spi-fsl-cpm.c
@@ -15,17 +15,17 @@
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
-#include
-#include
-#include
-#include
-#include
-#include
#include
#include
+#include
+#include
+#include
+#include
+#include
+#include
-#include "spi-fsl-lib.h"
#include "spi-fsl-cpm.h"
+#include "spi-fsl-lib.h"
#include "spi-fsl-spi.h"
/* CPM1 and CPM2 are mutually exclusive. */
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 1cdef8e..4482160 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -13,22 +13,22 @@
*
*/
+#include
+#include
+#include
+#include
+#include
+#include
#include
#include
-#include
-#include
+#include
+#include
#include
+#include
#include
#include
-#include
-#include
-#include
-#include
#include
#include
-#include
-#include
-#include
#define DRIVER_NAME "fsl-dspi"
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c
index 429e111..a7f94b6 100644
--- a/drivers/spi/spi-fsl-espi.c
+++ b/drivers/spi/spi-fsl-espi.c
@@ -8,19 +8,19 @@
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
-#include
#include
-#include
-#include
-#include
+#include
#include
+#include
+#include
+#include
#include
#include
#include
#include
#include
-#include
-#include
+#include
+#include
#include
#include "spi-fsl-lib.h"
diff --git a/drivers/spi/spi-fsl-lib.c b/drivers/spi/spi-fsl-lib.c
index e0b773f..5ddb5b0 100644
--- a/drivers/spi/spi-fsl-lib.c
+++ b/drivers/spi/spi-fsl-lib.c
@@ -16,10 +16,10 @@
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
-#include
-#include
-#include
#include
+#include
+#include
+#include
#include
#include
#include
diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c
index 590f31b..ed79288 100644
--- a/drivers/spi/spi-fsl-spi.c
+++ b/drivers/spi/spi-fsl-spi.c
@@ -19,25 +19,25 @@
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
-#include
-#include
-#include
-#include
#include
-#include
-#include
-#include
-#include
-#include
#include
+#include
+#include
+#include
+#include
+#include
#include
+#include
#include
#include
-#include
#include
#include
-#include
#include
+#include
+#include
+#include
+#include
+#include
#include "spi-fsl-lib.h"
#include "spi-fsl-cpm.h"