Skip to content
Commit f64ad1a0 authored by Kevin Hilman's avatar Kevin Hilman
Browse files

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: default avatarKevin Hilman <khilman@ti.com>
parent 7a6f8416
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment