Re: [RFC PATCH 07/10] OMAP: GPIO: cleanup suspend and resume functions

2011-05-20 Thread Varadarajan, Charulatha
Tarun, On Mon, May 16, 2011 at 17:11, Tarun Kanti DebBarma wrote: > Since wake_status, wake_clear, wake_set is common for all banks on a given > OMAP version it is enough to get their values once during probe(). > Also, register offsets are already initialzed according to OMAP versions > during d

Re: [RFC PATCH 07/10] OMAP: GPIO: cleanup suspend and resume functions

2011-05-19 Thread Kevin Hilman
Tarun Kanti DebBarma writes: > Since wake_status, wake_clear, wake_set is common for all banks on a given > OMAP version it is enough to get their values once during probe(). > Also, register offsets are already initialzed according to OMAP versions > during device registration. We no longer need

[RFC PATCH 07/10] OMAP: GPIO: cleanup suspend and resume functions

2011-05-16 Thread Tarun Kanti DebBarma
Since wake_status, wake_clear, wake_set is common for all banks on a given OMAP version it is enough to get their values once during probe(). Also, register offsets are already initialzed according to OMAP versions during device registration. We no longer need these explicit checks. Signed-off-by: