提交 e39be3a3 编写于 作者: X Xiubo Li 提交者: Mark Brown

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: NXiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 f114040e
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/slab.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/slab.h>
#include "internal.h" #include "internal.h"
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/slab.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/lzo.h> #include <linux/lzo.h>
#include <linux/slab.h>
#include "internal.h" #include "internal.h"
......
...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/rbtree.h> #include <linux/rbtree.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/slab.h>
#include "internal.h" #include "internal.h"
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
* published by the Free Software Foundation. * 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/bsearch.h>
#include <linux/device.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/sort.h> #include <linux/sort.h>
#include <trace/events/regmap.h>
#include "internal.h" #include "internal.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册