commit | cd9835f1c67712412be6781157a811b0f177d545 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Mon Nov 27 11:48:54 2017 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Dec 02 22:42:31 2017 +0100 |
tree | e1db257ddae3c56b0fa369088ba528a27839acbd | |
parent | e63a006f704ba11928a8393e07a35a5f7d07290c [diff] |
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>