summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-04-20 16:31:23 -0700
committerKevin Hilman <khilman@ti.com>2011-06-16 11:13:42 -0700
commitfa87931acb8203a1f40a3c637863ad238f70cd40 (patch)
treefd79e56fb9819bbb1096c9d3904f0ba04bec832a /mm
parenta8be8dafd00e3ccf4f85e2f30babf42be5076324 (diff)
downloadblackbird-op-linux-fa87931acb8203a1f40a3c637863ad238f70cd40.tar.gz
blackbird-op-linux-fa87931acb8203a1f40a3c637863ad238f70cd40.zip
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 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud