diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-02-02 09:44:05 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-02-04 15:41:32 -0500 |
commit | 6320c7b7990e1e759a18666b6c616aae9bd3b12d (patch) | |
tree | 52af2944e0ed6e3cbd7b483be2230a490eed9d65 /arch/arm/mach-pxa | |
parent | 66d7990e282f8015686b9bab30be30eec297e736 (diff) |
arm: pxa: tosa: do not use gpiochip_reserve()
GPIO address space reservation during early platform initialization is
not needed anymore for Tosa. Remove the calls to gpiochip_reserve()
which is due to be removed.
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 233629edf7ee..4f35b333de44 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
@@ -927,8 +927,6 @@ static void tosa_restart(char mode, const char *cmd) | |||
927 | 927 | ||
928 | static void __init tosa_init(void) | 928 | static void __init tosa_init(void) |
929 | { | 929 | { |
930 | int dummy; | ||
931 | |||
932 | pxa2xx_mfp_config(ARRAY_AND_SIZE(tosa_pin_config)); | 930 | pxa2xx_mfp_config(ARRAY_AND_SIZE(tosa_pin_config)); |
933 | 931 | ||
934 | pxa_set_ffuart_info(NULL); | 932 | pxa_set_ffuart_info(NULL); |
@@ -947,10 +945,6 @@ static void __init tosa_init(void) | |||
947 | /* enable batt_fault */ | 945 | /* enable batt_fault */ |
948 | PMCR = 0x01; | 946 | PMCR = 0x01; |
949 | 947 | ||
950 | dummy = gpiochip_reserve(TOSA_SCOOP_GPIO_BASE, 12); | ||
951 | dummy = gpiochip_reserve(TOSA_SCOOP_JC_GPIO_BASE, 12); | ||
952 | dummy = gpiochip_reserve(TOSA_TC6393XB_GPIO_BASE, 16); | ||
953 | |||
954 | pxa_set_mci_info(&tosa_mci_platform_data); | 948 | pxa_set_mci_info(&tosa_mci_platform_data); |
955 | pxa_set_ficp_info(&tosa_ficp_platform_data); | 949 | pxa_set_ficp_info(&tosa_ficp_platform_data); |
956 | pxa_set_i2c_info(NULL); | 950 | pxa_set_i2c_info(NULL); |