summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-02-01 11:17:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-04 12:34:36 +0100
commitdab7ed43dfc778f6924d13b63ddd11a966f4cd77 (patch)
treefccf3f9d56cefd642bf7704ead2594df171441ee /drivers/staging
parent9ad67a121637ae141ebaf04c1a27e60fdd91bab3 (diff)
downloadlinux-stable-dab7ed43dfc778f6924d13b63ddd11a966f4cd77.tar.gz
linux-stable-dab7ed43dfc778f6924d13b63ddd11a966f4cd77.tar.bz2
linux-stable-dab7ed43dfc778f6924d13b63ddd11a966f4cd77.zip
staging: spi: mt7621: Clean up excessive header usage
This patch removes unnecessary header includes and sorts the remaining ones alphabetically. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Mark Brown <broonie@kernel.org> Cc: Sankalp Negi <sankalpnegi2310@gmail.com> Cc: Chuanhong Guo <gch981213@gmail.com> Cc: John Crispin <john@phrozen.org> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/mt7621-spi/spi-mt7621.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index c2f6f9ce52a2..440c3f77fde8 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -11,19 +11,13 @@
* Copyright (C) 2007-2008 Marvell Ltd.
*/
-#include <linux/init.h>
-#include <linux/module.h>
#include <linux/clk.h>
-#include <linux/err.h>
#include <linux/delay.h>
#include <linux/io.h>
+#include <linux/module.h>
+#include <linux/of_device.h>
#include <linux/reset.h>
#include <linux/spi/spi.h>
-#include <linux/of_device.h>
-#include <linux/platform_device.h>
-#include <linux/swab.h>
-
-#include <ralink_regs.h>
#define SPI_BPW_MASK(bits) BIT((bits) - 1)