]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
gpio/omap: optimize suspend and resume functions
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Wed, 23 Nov 2011 20:18:52 +0000 (01:48 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 08:43:44 +0000 (14:13 +0530)
commit065cd795d2721f8d2d1f2967ee6ed0aec07a4202
tree086a4d5bb9302394f7360646ee1ae2676ec3876d
parent55b93c32520dc7ff0097db81db9b1e6b735951a9
gpio/omap: optimize suspend and resume functions

There is no need to operate on all the banks every time the function is called.
Just operate on the current bank passed by the framework.

Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c