diff options
author | Rohit Vaswani <rvaswani@codeaurora.org> | 2013-06-10 18:50:19 -0400 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2013-06-12 16:52:51 -0400 |
commit | eda9dcfa56f4864e0e4340f5af3f3e39f514b726 (patch) | |
tree | e7e48f1169aa36fc3eff75135cc8d24b362d3302 /drivers/gpio/gpio-msm-v2.c | |
parent | 1a56e4b23d2b4445397419202ff40e0b34ba3d7e (diff) |
ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs
Remove gpiomux-v2 as it's not being used and make way for future improvements.
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'drivers/gpio/gpio-msm-v2.c')
-rw-r--r-- | drivers/gpio/gpio-msm-v2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c index dd2eddeb1e0c..75cc8215f15b 100644 --- a/drivers/gpio/gpio-msm-v2.c +++ b/drivers/gpio/gpio-msm-v2.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/platform_device.h> | 29 | #include <linux/platform_device.h> |
30 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
31 | 31 | ||
32 | #include <mach/msm_gpiomux.h> | ||
33 | #include <mach/msm_iomap.h> | 32 | #include <mach/msm_iomap.h> |
34 | 33 | ||
35 | /* Bits of interest in the GPIO_IN_OUT register. | 34 | /* Bits of interest in the GPIO_IN_OUT register. |
@@ -159,12 +158,12 @@ static int msm_gpio_direction_output(struct gpio_chip *chip, | |||
159 | 158 | ||
160 | static int msm_gpio_request(struct gpio_chip *chip, unsigned offset) | 159 | static int msm_gpio_request(struct gpio_chip *chip, unsigned offset) |
161 | { | 160 | { |
162 | return msm_gpiomux_get(chip->base + offset); | 161 | return 0; |
163 | } | 162 | } |
164 | 163 | ||
165 | static void msm_gpio_free(struct gpio_chip *chip, unsigned offset) | 164 | static void msm_gpio_free(struct gpio_chip *chip, unsigned offset) |
166 | { | 165 | { |
167 | msm_gpiomux_put(chip->base + offset); | 166 | return; |
168 | } | 167 | } |
169 | 168 | ||
170 | static int msm_gpio_to_irq(struct gpio_chip *chip, unsigned offset) | 169 | static int msm_gpio_to_irq(struct gpio_chip *chip, unsigned offset) |