From: Varadarajan, Charulatha Date: Wed, 8 Dec 2010 00:26:55 +0000 (-0800) Subject: OMAP: GPIO: prepare for platform driver X-Git-Tag: v2.6.38-rc1~469^2~46^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fae7fbed072705d91e09ed393b2e580b2d895fc;p=pandora-kernel.git 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 Acked-by: Kevin Hilman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed