Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regmap: cache: Sort include headers alphabetically

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>

authored by

Xiubo Li and committed by
Mark Brown
e39be3a3 f114040e

+8 -8
+1 -1
drivers/base/regmap/regcache-flat.c
··· 10 10 * published by the Free Software Foundation. 11 11 */ 12 12 13 - #include <linux/slab.h> 14 13 #include <linux/device.h> 15 14 #include <linux/seq_file.h> 15 + #include <linux/slab.h> 16 16 17 17 #include "internal.h" 18 18
+1 -1
drivers/base/regmap/regcache-lzo.c
··· 10 10 * published by the Free Software Foundation. 11 11 */ 12 12 13 - #include <linux/slab.h> 14 13 #include <linux/device.h> 15 14 #include <linux/lzo.h> 15 + #include <linux/slab.h> 16 16 17 17 #include "internal.h" 18 18
+2 -2
drivers/base/regmap/regcache-rbtree.c
··· 10 10 * published by the Free Software Foundation. 11 11 */ 12 12 13 - #include <linux/slab.h> 14 - #include <linux/device.h> 15 13 #include <linux/debugfs.h> 14 + #include <linux/device.h> 16 15 #include <linux/rbtree.h> 17 16 #include <linux/seq_file.h> 17 + #include <linux/slab.h> 18 18 19 19 #include "internal.h" 20 20
+4 -4
drivers/base/regmap/regcache.c
··· 10 10 * published by the Free Software Foundation. 11 11 */ 12 12 13 - #include <linux/slab.h> 14 - #include <linux/export.h> 15 - #include <linux/device.h> 16 - #include <trace/events/regmap.h> 17 13 #include <linux/bsearch.h> 14 + #include <linux/device.h> 15 + #include <linux/export.h> 16 + #include <linux/slab.h> 18 17 #include <linux/sort.h> 18 + #include <trace/events/regmap.h> 19 19 20 20 #include "internal.h" 21 21