gpio/omap: remove cpu_is_omapxxxx() checks from *_runtime_resume()
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Fri, 27 Apr 2012 14:13:37 +0000 (19:43 +0530)
committerKevin Hilman <khilman@ti.com>
Sat, 12 May 2012 00:08:40 +0000 (17:08 -0700)
commit4e962e8998cc6cb5e58beae5feb6a65cb1a27f26
tree391e73578b298613625b09d9691a62e31481e3b0
parent9c4ed9e6c01e7a8bd9079da8267e1f03cb4761fc
gpio/omap: remove cpu_is_omapxxxx() checks from *_runtime_resume()

Add register offsets for GPIO_IRQSTATUS_RAW_0, GPIO_IRQSTATUS_RAW_0
which are present on OMAP4+ processors. Now we can distinguish
conditions applicable to OMAP4,5 and those specific to OMAP24xx
and OMAP3xxx.

Cc: Kevin Hilman <khilman@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Cousson, Benoit <b-cousson@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/gpio.c
arch/arm/plat-omap/include/plat/gpio.h
drivers/gpio/gpio-omap.c