diff options
author | 2017-11-27 11:48:54 +0100 | |
---|---|---|
committer | 2017-12-02 22:42:31 +0100 | |
commit | cd9835f1c67712412be6781157a811b0f177d545 (patch) | |
tree | e1db257ddae3c56b0fa369088ba528a27839acbd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: mockup: rename gpio_mockup_params_nr to gpio_mockup_num_ranges (diff) | |
download | wireguard-linux-cd9835f1c67712412be6781157a811b0f177d545.tar.xz wireguard-linux-cd9835f1c67712412be6781157a811b0f177d545.zip |
gpio: mockup: add helpers for accessing the gpio ranges
In order to avoid repeating the calculations on every access - add
helpers for gpio base and ngpio components of the ranges array.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions