arm: s5j: remove up_gpioinitialize()
authorHeesub Shin <heesub.shin@samsung.com>
Sun, 9 Apr 2017 10:07:11 +0000 (19:07 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:12 +0000 (12:02 +0900)
commit0a3ee87b1d38443aff8f255dfff927b8bcde2cfb
tree1e286cb6f370b00c7db72bda970475c69166f035
parent35124e21efc22c570a19876a2e1a83a230104bf9
arm: s5j: remove up_gpioinitialize()

up_gpioinitialize() was invented while we were working on the BSP for
BCM4390x. Its purpose was for initializing GPIO ports and registering
device nodes for them during the boot sequence, but it was a bad idea.
Available GPIO ports may varies from device to device. This means that
exporting which GPIO ports should be decided at board initialization,
not OS or chip initialization. Having up_gpioinitialize() at the
chip-specific layer is breaking the OS design.

This is why up_gpioinitialize() had been left abandoned for a long time
and finally become an empty function. It is time to remove it
completely. This commit does not make any functional differences.

Change-Id: I0217b377050613502933f4b6ba7b8024ff9937f1
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/common/up_initialize.c
os/arch/arm/src/common/up_internal.h
os/arch/arm/src/s5j/s5j_gpio.c