summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/gpio7xx.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-04-22 16:45:27 (GMT)
committerKevin Hilman <khilman@ti.com>2011-06-16 18:14:05 (GMT)
commitf64ad1a0e21a4948894c7a1b6f2f03b5e7151ddf (patch)
tree9c6758c4c425d0d04ff3c478dba3244f8af32b8f /arch/arm/mach-omap1/gpio7xx.c
parent7a6f8416e22a6d9f4708847bb2d88f0719b0f49e (diff)
downloadlinux-fsl-qoriq-f64ad1a0e21a4948894c7a1b6f2f03b5e7151ddf.tar.xz
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 <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap1/gpio7xx.c')
0 files changed, 0 insertions, 0 deletions