summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-11-27 13:48:54 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-12-03 00:42:31 +0300
commitcd9835f1c67712412be6781157a811b0f177d545 (patch)
treee1db257ddae3c56b0fa369088ba528a27839acbd /firmware
parente63a006f704ba11928a8393e07a35a5f7d07290c (diff)
downloadlinux-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