summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2012-05-09 00:28:59 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-10 01:51:24 +0400
commit262c16320a915c26c927c9f7ddb0e1fe42fa0267 (patch)
tree99ed755e312bf2728823db8360319d339c48a675 /scripts/cleanpatch
parentd3595d132b9f8641501fcc84d831a5d6fed2b29d (diff)
downloadlinux-262c16320a915c26c927c9f7ddb0e1fe42fa0267.tar.xz
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 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions