[5/6] spi: ath79: Remove some useless includes
diff mbox series

Message ID 20190116185549.23295-5-albeu@free.fr
State New, archived
Headers show
Series
  • [1/6] spi: bitbang: Don't call chipselect() in spi_bitbang_setup()
Related show

Commit Message

Alban Bedel Jan. 16, 2019, 6:55 p.m. UTC
Several include are not needed, remove them to keep the list clean.

Signed-off-by: Alban Bedel <albeu@free.fr>
---
 drivers/spi/spi-ath79.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Joe Perches Jan. 16, 2019, 8:06 p.m. UTC | #1
On Wed, 2019-01-16 at 19:55 +0100, Alban Bedel wrote:
> Several include are not needed, remove them to keep the list clean.
[]
> diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c
[]
> @@ -12,15 +12,12 @@
>   *
>   */
>  
> -#include <linux/kernel.h>

I think it's not a good idea to remove kernel.h
just because module.h indirectly #includes it via
moduleparam.h

Patch
diff mbox series

diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c
index 847f354ebef1..257acfb07819 100644
--- a/drivers/spi/spi-ath79.c
+++ b/drivers/spi/spi-ath79.c
@@ -12,15 +12,12 @@ 
  *
  */
 
-#include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/delay.h>
-#include <linux/spinlock.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/spi_bitbang.h>
-#include <linux/bitops.h>
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/platform_data/spi-ath79.h>