Davinci: gpio - minor cleanup
authorCyril Chemparathy <cyril@ti.com>
Sat, 1 May 2010 22:37:51 +0000 (18:37 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 6 May 2010 22:02:08 +0000 (15:02 -0700)
commitba4a984e838dfb1c46135ff8cadeea5f8ca5fd0a
tree1650621c7dbdfe8bcb3b9d9d2198715bc0d21043
parent7a9978a1e2225507025a8b90b4289d506a416bd9
Davinci: gpio - minor cleanup

macroized repeated container_of()s to improve readability.
unified direction in/out functions.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/gpio.c