From: David Brownell Date: Thu, 30 Oct 2008 07:33:53 +0000 (-0700) Subject: use gpio_direction_output (OMAP tree only) X-Git-Tag: v2.6.28-davinci1-diff-base~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=570f10b7d3aaa3d542b749622df2a1f86e54ebc3;p=pandora-kernel.git use gpio_direction_output (OMAP tree only) More conversion to the standard GPIO interfaces: stop using omap_set_gpio_direction() entirely, and switch over to the gpio_direction_output() call. Note that because gpio_direction_output() includes the initial value, this change isn't quite transparent. - For the call sites which defined an initial value either before or after setting the direction, that value was used. When that value was previously assigned afterwards, this could eliminate a brief output glitch ... and possibly change behavior. In a few cases (LCDs) several values were assigned together ... those were re-arranged to match the explicit sequence provided. - Some call sites didn't define such a value; so I chose an initial "off/reset" value that seemed to default to "off". In short, files touched by this patch might notice some small changes in startup behavior (with trivial fixes). Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed