diff mbox

[01/16] ARM: mvebu: Sort the headers of pmsu.c in alphabetic order

Message ID 1403875377-940-2-git-send-email-gregory.clement@free-electrons.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Gregory CLEMENT June 27, 2014, 1:22 p.m. UTC
Sorting the headers in alphabetic order will help to reduce the
conflict when adding new headers later.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 arch/arm/mach-mvebu/pmsu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Thomas Petazzoni June 30, 2014, 12:16 p.m. UTC | #1
Gregory,

On Fri, 27 Jun 2014 15:22:42 +0200, Gregory CLEMENT wrote:
> Sorting the headers in alphabetic order will help to reduce the
> conflict when adding new headers later.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
>  arch/arm/mach-mvebu/pmsu.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
> index a1d407c0febe..5584d35b8e88 100644
> --- a/arch/arm/mach-mvebu/pmsu.c
> +++ b/arch/arm/mach-mvebu/pmsu.c
> @@ -19,13 +19,13 @@
>  #define pr_fmt(fmt) "mvebu-pmsu: " fmt
>  
>  #include <linux/cpu_pm.h>
> -#include <linux/kernel.h>
>  #include <linux/init.h>
> -#include <linux/of_address.h>
> +#include <linux/kernel.h>
>  #include <linux/io.h>

So, with your patch applied, if I'm correct, we will have:

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/io.h>

It seems like we're not yet alphabetically sorted here :)

Best regards,

Thomas
Gregory CLEMENT July 2, 2014, 10:57 p.m. UTC | #2
Hi Thomas,


>>  #include <linux/cpu_pm.h>
>> -#include <linux/kernel.h>
>>  #include <linux/init.h>
>> -#include <linux/of_address.h>
>> +#include <linux/kernel.h>
>>  #include <linux/io.h>
> 
> So, with your patch applied, if I'm correct, we will have:
> 
> #include <linux/init.h>
> #include <linux/kernel.h>
> #include <linux/io.h>
> 
> It seems like we're not yet alphabetically sorted here :)

Indeed, I will fix it


Thanks,

Gregory
diff mbox

Patch

diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
index a1d407c0febe..5584d35b8e88 100644
--- a/arch/arm/mach-mvebu/pmsu.c
+++ b/arch/arm/mach-mvebu/pmsu.c
@@ -19,13 +19,13 @@ 
 #define pr_fmt(fmt) "mvebu-pmsu: " fmt
 
 #include <linux/cpu_pm.h>
-#include <linux/kernel.h>
 #include <linux/init.h>
-#include <linux/of_address.h>
+#include <linux/kernel.h>
 #include <linux/io.h>
+#include <linux/of_address.h>
 #include <linux/platform_device.h>
-#include <linux/smp.h>
 #include <linux/resource.h>
+#include <linux/smp.h>
 #include <asm/cacheflush.h>
 #include <asm/cp15.h>
 #include <asm/smp_plat.h>