diff options
author | Kevin Hilman <khilman@ti.com> | 2011-04-21 03:31:23 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-06-16 22:13:42 +0400 |
commit | fa87931acb8203a1f40a3c637863ad238f70cd40 (patch) | |
tree | fd79e56fb9819bbb1096c9d3904f0ba04bec832a /virt/kvm/coalesced_mmio.c | |
parent | a8be8dafd00e3ccf4f85e2f30babf42be5076324 (diff) | |
download | linux-fa87931acb8203a1f40a3c637863ad238f70cd40.tar.xz |
gpio/omap: consolidate direction, input, output, remove #ifdefs
Add register offset fields to GPIO platform_data for registers.
This patch adds registers that control direction, input and output
data. Using these register offsets in the common driver allows
removal of #ifdefs and greatly improves readability.
Also create dedicated data out functions: one for banks with dedicated
set/clear registers, and another for banks with a single mask
register.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'virt/kvm/coalesced_mmio.c')
0 files changed, 0 insertions, 0 deletions