regmap: cache: Sort include headers alphabetically
authorXiubo Li <Li.Xiubo@freescale.com>
Thu, 9 Oct 2014 09:02:52 +0000 (17:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:25:06 +0000 (12:25 +0100)
If the inlcude headers aren't sorted alphabetically, then the
logical choice is to append new ones, however that creates a
lot of potential for conflicts or duplicates because every change
will then add new includes in the same location.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regcache-flat.c
drivers/base/regmap/regcache-lzo.c
drivers/base/regmap/regcache-rbtree.c
drivers/base/regmap/regcache.c

index d9762e41959b07b55fa22c239b9170344dc9b634..0246f44ded747478f3dab0ba0441d4fdff2ae318 100644 (file)
@@ -10,9 +10,9 @@
  * published by the Free Software Foundation.
  */
 
-#include <linux/slab.h>
 #include <linux/device.h>
 #include <linux/seq_file.h>
+#include <linux/slab.h>
 
 #include "internal.h"
 
index e210a6d1406a5798b60a49791ae8132cf4a8594a..2d53f6f138e1872dfc03988b0020e976b9e5d86b 100644 (file)
@@ -10,9 +10,9 @@
  * published by the Free Software Foundation.
  */
 
-#include <linux/slab.h>
 #include <linux/device.h>
 #include <linux/lzo.h>
+#include <linux/slab.h>
 
 #include "internal.h"
 
index f3e8fe0cc65030a8fea51c00994a343df8220659..d453a2c98ad0a6529170dc5a8f21bab9204255f7 100644 (file)
  * published by the Free Software Foundation.
  */
 
-#include <linux/slab.h>
-#include <linux/device.h>
 #include <linux/debugfs.h>
+#include <linux/device.h>
 #include <linux/rbtree.h>
 #include <linux/seq_file.h>
+#include <linux/slab.h>
 
 #include "internal.h"
 
index f1280dc356d095dee65ccaa47d29652bd97b38dc..489680433f9d456ca63f52823602563b18e2f705 100644 (file)
  * published by the Free Software Foundation.
  */
 
-#include <linux/slab.h>
-#include <linux/export.h>
-#include <linux/device.h>
-#include <trace/events/regmap.h>
 #include <linux/bsearch.h>
+#include <linux/device.h>
+#include <linux/export.h>
+#include <linux/slab.h>
 #include <linux/sort.h>
+#include <trace/events/regmap.h>
 
 #include "internal.h"