From: Kevin Hilman Date: Fri, 22 Apr 2011 16:45:27 +0000 (-0700) Subject: gpio/omap: cleanup _set_gpio_wakeup(), remove ifdefs X-Git-Tag: v3.1-rc1~313^2~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f64ad1a0e21a4948894c7a1b6f2f03b5e7151ddf;p=pandora-kernel.git gpio/omap: cleanup _set_gpio_wakeup(), remove ifdefs Make _set_gpio_wakeup() generic by removing ifdefs. Code for the various SoCs/bank-methods was already the same, except for the non-wakeup GPIO checking. But that flag is set on a per-SoC basis, so can be used for all SoCs. While here, use dev_err() and remove GPIO bank calculation assumption based on subtracting bank pointers. Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed