From: Phil Sutter Date: Fri, 28 Nov 2008 19:46:22 +0000 (+0100) Subject: MIPS: RB532: remove useless CF GPIO initialisation X-Git-Tag: v2.6.29-rc4~84^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84c2c562c101bd84ea0f796b9838296da1bf859e;p=pandora-kernel.git 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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed