s5j/gpio: use heap-memory for s5j_gpio_all array
authorEunBong Song <eunb.song@samsung.com>
Fri, 31 Mar 2017 08:23:36 +0000 (17:23 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:04 +0000 (12:02 +0900)
commitd26649cc1877eadbef8b90460c5cf268997e886e
treef6bbed5a4d428999a8ef5aabf04857faf9d0b166
parent5edc56cf306287365b9854b675be8611c4dfa33a
s5j/gpio: use heap-memory for s5j_gpio_all array

If all gpio is not used, s5j_gpio_all array uses extra memory.
This patch changes s5j_gpio_all to use heap memory so that allocate
memory only as needed.

Change-Id: I677b941702a961592e096b7de221ce0b46424c16
Signed-off-by: EunBong Song <eunb.song@samsung.com>
os/arch/arm/src/s5j/s5j_gpio.c