projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6c53a
)
arm/mxs: move MXS_GPIO_NR into mach/mxs.h
author
Shawn Guo
<shawn.guo@linaro.org>
Sat, 13 Aug 2011 16:14:07 +0000
(
00:14
+0800)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Wed, 17 Aug 2011 06:33:04 +0000
(08:33 +0200)
The patch moves MXS_GPIO_NR into mach/mxs.h, so that we only use
standard gpiolib helpers in mach/gpio.h.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mxs/include/mach/gpio.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-mxs/include/mach/gpio.h
b/arch/arm/mach-mxs/include/mach/gpio.h
index 0a95d58b13f6ec2e3553012508bcf99e9c0bb1ef..56025aa0a639ea68d7b523c147004215dc0010cf 100644
(file)
--- a/
arch/arm/mach-mxs/include/mach/gpio.h
+++ b/
arch/arm/mach-mxs/include/mach/gpio.h
@@
-22,8
+22,6
@@
#include <asm-generic/gpio.h>
-#define MXS_GPIO_NR(bank, nr) ((bank) * 32 + (nr))
-
/* use gpiolib dispatchers */
#define gpio_get_value __gpio_get_value
#define gpio_set_value __gpio_set_value