From: Tarun Kanti DebBarma Date: Thu, 4 Apr 2013 20:16:13 +0000 (-0500) Subject: gpio/omap: remove extra context restores in *_runtime_resume() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~23^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60b18b9aa4daa616a8b360feb35d1bfe4d606019;p=pandora-kernel.git gpio/omap: remove extra context restores in *_runtime_resume() 68942edb09f69b6e09522d1d346665eb3aadde49 (gpio/omap: fix wakeups on level-triggered GPIOs) already restores the fallingdetect and risingdetect contexts in *_runtime_resume(). These registers were modified in *_runtime_suspend() to include even those configured as level-triggered since only edge-triggered gpios can generate wakeup events. Therefore, the old context restores of the same registers present later in the code is not needed any more. Remove them. Signed-off-by: Tarun Kanti DebBarma Signed-off-by: Jon Hunter Acked-by: Santosh Shilimkar Reviewed-by: Kevin Hilman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed