Davinci: gpio - structs and functions renamed
authorCyril Chemparathy <cyril@ti.com>
Sat, 1 May 2010 22:37:52 +0000 (18:37 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 6 May 2010 22:02:08 +0000 (15:02 -0700)
commit99e9e52de635728d7c89a0fdf79b307f3082cf3a
tree554517b1dc2552819954174c8ddafd3927f34970
parentba4a984e838dfb1c46135ff8cadeea5f8ca5fd0a
Davinci: gpio - structs and functions renamed

Renamed gpio types to something more sensible:
struct gpio_controller --> struct davinci_gpio_regs
struct davinci_gpio --> struct davinci_gpio_controller
gpio2controller() --> gpio2regs()
irq2controller() --> irq2regs()

This change also moves davinci_gpio_controller definition to gpio.h.
Eventually, the gpio registers structure will be moved to gpio.c and no longer
a common cross-soc definition.

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
arch/arm/mach-davinci/include/mach/gpio.h