diff options
| author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-08 23:28:59 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-09 14:51:24 -0700 |
| commit | 262c16320a915c26c927c9f7ddb0e1fe42fa0267 (patch) | |
| tree | 99ed755e312bf2728823db8360319d339c48a675 /lib/mpi/mpi-inv.c | |
| parent | d3595d132b9f8641501fcc84d831a5d6fed2b29d (diff) | |
usb: gadget: ci13xxx: redo register access
Use lookup table instead of conditional macrodefinitions of register
addresses. With two different possible register layouts and different
register offsets, it's easiest to build a table with register addresses
at probe time, based on the information supplied from the platform and
device capabilities. This way we get rid of branch-per-register-access.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions
