diff options
author | Varadarajan, Charulatha <charu@ti.com> | 2010-12-07 16:26:55 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-07 16:26:55 -0800 |
commit | 2fae7fbed072705d91e09ed393b2e580b2d895fc (patch) | |
tree | 764c006fd853b327b7de5e97a69067d1f3ce95c4 /arch/arm/mach-omap1/gpio15xx.c | |
parent | c2cdaffe0bb32015e84af8e31f73e620ba271165 (diff) | |
download | lwn-2fae7fbed072705d91e09ed393b2e580b2d895fc.tar.gz lwn-2fae7fbed072705d91e09ed393b2e580b2d895fc.zip |
OMAP: GPIO: prepare for platform driver
Prepare for implementing GPIO as a platform driver.
Modifies omap_gpio_init() to make use of omap_gpio_chip_init()
and omap_gpio_mod_init(). omap_gpio_mod_init() does the module init
by clearing the status register and initializing the GPIO control register.
omap_gpio_chip_init() initializes the chip request, free, get, set and
other function pointers and sets the gpio irq handler.
This is only to reorganize the code so that the "omap gpio platform driver
implementation patch" looks cleaner and better to review.
Signed-off-by: Charulatha V <charu@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/gpio15xx.c')
0 files changed, 0 insertions, 0 deletions