diff options
author | Laura Abbott <labbott@redhat.com> | 2018-04-10 00:07:17 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-04-27 02:06:21 +0300 |
commit | 12f92ccc5baeb99e2f1d3ea9ae2e35441a56a100 (patch) | |
tree | 49f5de1f92e08ae5ceae85c109420bfb1c05b709 /Documentation/driver-api | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-12f92ccc5baeb99e2f1d3ea9ae2e35441a56a100.tar.xz |
gpio: xra1403: Switch to a fixed upper bound for registers
Geert Uytterhoeven pointed out that the number of register was a
fixed upper bound so there's no need to use a dynamically allocated
array in place of a VLA. Use the defined upper bound.
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions