Skip to content

Commit

Permalink
arm: pxa: tosa: do not use gpiochip_reserve()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Courbot authored and Linus Walleij committed Feb 4, 2013
1 parent 66d7990 commit 6320c7b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/arm/mach-pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,6 @@ static void tosa_restart(char mode, const char *cmd)

static void __init tosa_init(void)
{
int dummy;

pxa2xx_mfp_config(ARRAY_AND_SIZE(tosa_pin_config));

pxa_set_ffuart_info(NULL);
Expand All @@ -947,10 +945,6 @@ static void __init tosa_init(void)
/* enable batt_fault */
PMCR = 0x01;

dummy = gpiochip_reserve(TOSA_SCOOP_GPIO_BASE, 12);
dummy = gpiochip_reserve(TOSA_SCOOP_JC_GPIO_BASE, 12);
dummy = gpiochip_reserve(TOSA_TC6393XB_GPIO_BASE, 16);

pxa_set_mci_info(&tosa_mci_platform_data);
pxa_set_ficp_info(&tosa_ficp_platform_data);
pxa_set_i2c_info(NULL);
Expand Down

0 comments on commit 6320c7b

Please sign in to comment.