]> git.sur5r.net Git - u-boot/commit
mx53loco: Remove unneeded gpio_set_value()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 7 May 2012 10:42:57 +0000 (10:42 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:34 +0000 (08:31 +0200)
commit6ecaee8201ddf7dd574e9331ad4249ec867253b5
tree063071487402896d257a0afa4ab089c82c9d6da8
parent54cd1dee8f9537c2e3d5bfe2029bf31b2b1cf2f3
mx53loco: Remove unneeded gpio_set_value()

There is no need to set the VBUS power enable to 0 first and then to 1.

Set it to 1 in the gpio_direction_output() function.

While at it, use the standard naming convention for the GPIO comment.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx53loco/mx53loco.c