summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-07-01 13:42:12 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-07-07 14:30:27 +0200
commitec75039d55500ee033236aa25f7642a5b449a23c (patch)
tree0a1f1456135c0bc27ec2df60136770e24f0c7572 /tools/perf/scripts/python/export-to-postgresql.py
parent2073ea3ab181d42b4fd179ec3f74d53acefb563a (diff)
gpio: aggregator: Use bitmap_parselist() for parsing GPIO offsets
Replace the custom code to parse GPIO offsets and/or GPIO offset ranges by a call to bitmap_parselist(), and an iteration over the returned bit mask. This should have no impact on the format of the configuration parameters written to the "new_device" virtual file in sysfs. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200701114212.8520-3-geert+renesas@glider.be 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