]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: RB532: remove useless CF GPIO initialisation
authorPhil Sutter <n0-1@freewrt.org>
Fri, 28 Nov 2008 19:46:22 +0000 (20:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Jan 2009 21:32:59 +0000 (21:32 +0000)
commita558d5e06c3c829a669b1bb004784049a5658e6f
tree6e6ee1e3d5d033f62cbf2e5b7affad6c2294cc98
parent73a24875dbd583f49b452bf30750bd65026eb9ce
MIPS: RB532: remove useless CF GPIO initialisation

As the pata-rb532-cf driver calls gpio_direction_input(), the calls to
rb532_gpio_set_func() and rb532_gpio_direction_input() are not needed since
the alternate function is automatically being disabled when changing the
GPIO pin direction.
The later two calls to rb532_gpio_set_{ilevel,istat}() are implicitly being
done by the IRQ initialisation of pata-rb532-cf.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/gpio.c