diff options
author | 2020-07-01 13:42:12 +0200 | |
---|---|---|
committer | 2020-07-07 14:30:27 +0200 | |
commit | ec75039d55500ee033236aa25f7642a5b449a23c (patch) | |
tree | 0a1f1456135c0bc27ec2df60136770e24f0c7572 /tools/perf/scripts/python/stackcollapse.py | |
parent | gpio: aggregator: Drop pre-initialization in get_arg() (diff) | |
download | linux-dev-ec75039d55500ee033236aa25f7642a5b449a23c.tar.xz linux-dev-ec75039d55500ee033236aa25f7642a5b449a23c.zip |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions