summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sram.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>2015-06-01 14:30:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-13 02:03:57 +0200
commit98ce2d27a38803ffcdbf35712c39c07a434d567c (patch)
treea65cb17ce9aecdcf7dc6109aaafbdb869492ee70 /drivers/misc/sram.c
parentmisc: sram: move reserved block logic out of probe function (diff)
downloadlinux-98ce2d27a38803ffcdbf35712c39c07a434d567c.tar.xz
linux-98ce2d27a38803ffcdbf35712c39c07a434d567c.zip
misc: sram: sort and clean up included headers
Most of the included header files are already included as dependencies. Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/sram.c')
-rw-r--r--drivers/misc/sram.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
index 7502b6ceb338..15c33cc34a80 100644
--- a/drivers/misc/sram.c
+++ b/drivers/misc/sram.c
@@ -18,19 +18,13 @@
* MA 02110-1301, USA.
*/
-#include <linux/kernel.h>
-#include <linux/init.h>
#include <linux/clk.h>
-#include <linux/err.h>
+#include <linux/genalloc.h>
#include <linux/io.h>
-#include <linux/of.h>
-#include <linux/of_address.h>
-#include <linux/list.h>
#include <linux/list_sort.h>
+#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
-#include <linux/spinlock.h>
-#include <linux/genalloc.h>
#define SRAM_GRANULARITY 32