Skip to contentSkip to conversation

spi: pxa2xx: Remove needless includes

PATCH Applied Jarkko Nikula 2 participants 3 messages Mar 23, 2015 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 spi: pxa2xx: Remove needless includes

These asm/io.h, asm/irq.h and asm/delay.h are needless since they are already included by linux/io.h via drivers/spi/spi-pxa2xx.h, linux/interrupt.h and linux/delay.h.

---
 drivers/spi/spi-pxa2xx.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/spi/spi-pxa2xx.c +0 -4
index 6f72ad01e041..74342d167324 100644
@@ -30,10 +30,6 @@
 #include <linux/pm_runtime.h>
 #include <linux/acpi.h>
 
-#include <asm/io.h>
-#include <asm/irq.h>
-#include <asm/delay.h>
-
 #include "spi-pxa2xx.h"
 
 MODULE_AUTHOR("Stephen Street");
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1427112468-26782-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/[email protected]

#2 lore raw

PATCH 2/2 spi: omap-uwire: Remove needless include asm/irq.h

asm/irq.h is already included by linux/interrupt.h.

---
 drivers/spi/spi-omap-uwire.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-omap-uwire.c +0 -1
index 3c0844457c07..55576db31549 100644
@@ -44,7 +44,6 @@
 #include <linux/module.h>
 #include <linux/io.h>
 
-#include <asm/irq.h>
 #include <mach/hardware.h>
 #include <asm/mach-types.h>
 
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Applied
#3 lore raw
In reply to a message not in the archive
Quoted 3 lines · Jarkko Nikula

These asm/io.h, asm/irq.h and asm/delay.h are needless since they are already included by linux/io.h via drivers/spi/spi-pxa2xx.h, linux/interrupt.h and linux/delay.h.

Applied both, thanks.