commit | 12f92ccc5baeb99e2f1d3ea9ae2e35441a56a100 | [log] [tgz] |
---|---|---|
author | Laura Abbott <labbott@redhat.com> | Mon Apr 09 14:07:17 2018 -0700 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Apr 27 01:06:21 2018 +0200 |
tree | 49f5de1f92e08ae5ceae85c109420bfb1c05b709 | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 [diff] |
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>