Skip to contentSkip to conversation

ARM: ks8695: delete local <mach/gpio.h> header

PATCH New Linus Walleij 2 participants 2 messages Nov 21, 2013 – Nov 25, 2013

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

PATCH 1/1 ARM: ks8695: delete local <mach/gpio.h> header

This header is not used by anything, and since the arch does not specify NEED_MACH_GPIO_H it is not included into <linux/gpio.h> either. Delete it.

---
Greg: can you ACK this so I can take it through the GPIO tree?

---
 arch/arm/mach-ks8695/include/mach/gpio.h | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 arch/arm/mach-ks8695/include/mach/gpio.h
arch/arm/mach-ks8695/include/mach/gpio.h deleted +0 -19
deleted file mode 100644
index f5fda36e4512..000000000000
@@ -1,19 +0,0 @@
-/*
- * arch/arm/mach-ks8695/include/mach/gpio.h
- *
- * Copyright (C) 2006 Andrew Victor
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef __ASM_ARCH_GPIO_H_
-#define __ASM_ARCH_GPIO_H_
-
-/*
- * Map IRQ number to GPIO line.
- */
-extern int irq_to_gpio(unsigned int irq);
-
-#endif
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 ARM: ks8695: delete local <mach/gpio.h> header

Hi Linus,

Quoted 9 lines · Linus Walleij

This header is not used by anything, and since the arch does not specify NEED_MACH_GPIO_H it is not included into <linux/gpio.h> either. Delete it.

---
Greg: can you ACK this so I can take it through the GPIO tree?

Sure thing.

Regards
Greg

Quoted 31 lines
---
  arch/arm/mach-ks8695/include/mach/gpio.h | 19 -------------------
  1 file changed, 19 deletions(-)

delete mode 100644 arch/arm/mach-ks8695/include/mach/gpio.h

arch/arm/mach-ks8695/include/mach/gpio.h deleted +0 -19
deleted file mode 100644
index f5fda36e4512..000000000000
@@ -1,19 +0,0 @@
-/*
- * arch/arm/mach-ks8695/include/mach/gpio.h
- *
- * Copyright (C) 2006 Andrew Victor
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef __ASM_ARCH_GPIO_H_
-#define __ASM_ARCH_GPIO_H_
-
-/*
- * Map IRQ number to GPIO line.
- */
-extern int irq_to_gpio(unsigned int irq);
-
-#endif