summaryrefslogtreecommitdiffstats
path: root/Documentation/scsi/sym53c8xx_2.txt
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-02-02 17:29:24 +0100
committerGrant Likely <grant.likely@secretlab.ca>2013-02-09 10:20:12 +0100
commit1a989d0f1de8f5a150b35e1e8181cc1abc139162 (patch)
tree5d1a3b1009d2ec1ee84abf3d2a120a46b4748f87 /Documentation/scsi/sym53c8xx_2.txt
parentMerge branch 'linusw/devel' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-1a989d0f1de8f5a150b35e1e8181cc1abc139162.tar.xz
linux-1a989d0f1de8f5a150b35e1e8181cc1abc139162.zip
gpiolib: link all gpio_chips using a list
Add a list member to gpio_chip that allows all chips to be parsed quickly. The current method requires parsing the entire GPIO integer space, which is painfully slow. Using a list makes many chip operations that involve lookup or parsing faster, and also simplifies the code. It is also necessary to eventually get rid of the global gpio_desc[] array. The list of gpio_chips is always ordered by base GPIO number to ensure chips traversal is done in the right order. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/scsi/sym53c8xx_2.txt')
0 files changed, 0 insertions, 0 deletions