diff options
author | Geert Uytterhoeven <[email protected]> | 2020-07-01 13:42:12 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-07-07 14:30:27 +0200 |
commit | ec75039d55500ee033236aa25f7642a5b449a23c (patch) | |
tree | 0a1f1456135c0bc27ec2df60136770e24f0c7572 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2073ea3ab181d42b4fd179ec3f74d53acefb563a (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 <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions