]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
da850-evm: extract defines for SEL{A,B,C} pins in UI expander
authorBen Gardiner <bengardiner@nanometrics.ca>
Thu, 9 Dec 2010 21:51:05 +0000 (16:51 -0500)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 22 Dec 2010 19:45:19 +0000 (11:45 -0800)
commit53c2897d36153830d4d34324bedf23a641602cc9
tree9af715146eae006984dd279dbbdf273a3874371a
parent75929f5e2bcba7cc328fcf9a3d7ba7076946ac3a
da850-evm: extract defines for SEL{A,B,C} pins in UI expander

The setup and teardown methods of the UI expander reference the SEL_{A,B,C}
pins by 'magic number' in each function. This uses the common enum for their offsets
in the expander setup and teardown functions.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Chris Cordahi <christophercordahi@nanometrics.ca>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
CC: Victor Rodriguez <vm.rod25@gmail.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-da850-evm.c