spi: pxa2xx: Remove needless includes
Subsystems (3)
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
@@ -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
PATCH 2/2 spi: omap-uwire: Remove needless include asm/irq.h
In reply to a message not in the archiveasm/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
@@ -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
Mark Brown
AppliedQuoted 3 lines · Jarkko Nikula
These
asm/io.h,asm/irq.handasm/delay.hare needless since they are already included bylinux/io.hviadrivers/spi/spi-pxa2xx.h,linux/interrupt.handlinux/delay.h.
Applied both, thanks.