diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-11-27 13:48:54 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-12-03 00:42:31 +0300 |
commit | cd9835f1c67712412be6781157a811b0f177d545 (patch) | |
tree | e1db257ddae3c56b0fa369088ba528a27839acbd /firmware | |
parent | e63a006f704ba11928a8393e07a35a5f7d07290c (diff) | |
download | linux-cd9835f1c67712412be6781157a811b0f177d545.tar.xz |
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 'firmware')
0 files changed, 0 insertions, 0 deletions