aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-11-16 21:39:32 +0900
committerLinus Walleij <linus.walleij@linaro.org>2013-11-25 09:02:30 +0100
commit79697ef94c48df8831a156bbb046e94215b7300d (patch)
treea17f59feb0de09c874c4dbeb3f5d49351467e624 /tools/perf/scripts/python/export-to-postgresql.py
parentDocumentation: gpiolib: document new interface (diff)
downloadlinux-dev-79697ef94c48df8831a156bbb046e94215b7300d.tar.xz
linux-dev-79697ef94c48df8831a156bbb046e94215b7300d.zip
gpiolib: fix find_chip_by_name()
find_chip_by_name() was incorrectly implemented by using gpio_lookup_list instead of gpiod_chips to iterate through all the registered GPIO controllers. This patch reimplements it by using gpiochip_find() with a custom search function, which simplifies the code on top of fixing the mistake. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions