summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/sh-gpio.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-08-04 20:03:07 +0200
committerSimon Horman <horms+renesas@verge.net.au>2015-09-14 09:58:06 +0900
commit26449ecc21dd690f5bc686fbee8037587c77ac5e (patch)
tree5bbe9b01ebc1947680820ea5b05464bbaeed1d46 /arch/arm/mach-shmobile/sh-gpio.h
parent08a0a2409fd0684a1184bf90486b0286a2ba1194 (diff)
ARM: shmobile: Remove obsolete sh-gpio.h
The last user of "sh-gpio.h" was removed in commit 1fa59bda21c7fa36 ("ARM: shmobile: Remove legacy board code for Armadillo-800 EVA"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/sh-gpio.h')
-rw-r--r--arch/arm/mach-shmobile/sh-gpio.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/arm/mach-shmobile/sh-gpio.h b/arch/arm/mach-shmobile/sh-gpio.h
deleted file mode 100644
index 2c4141413db9..000000000000
--- a/arch/arm/mach-shmobile/sh-gpio.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Generic GPIO API and pinmux table support
- *
- * Copyright (c) 2008 Magnus Damm
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- */
-#ifndef __ASM_ARCH_GPIO_H
-#define __ASM_ARCH_GPIO_H
-
-#include <linux/kernel.h>
-#include <linux/errno.h>
-#include <linux/io.h>
-
-/*
- * FIXME !!
- *
- * current gpio frame work doesn't have
- * the method to control only pull up/down/free.
- * this function should be replaced by correct gpio function
- */
-static inline void __init gpio_direction_none(void __iomem * addr)
-{
- __raw_writeb(0x00, addr);
-}
-
-#endif /* __ASM_ARCH_GPIO_H */