interface: close the fd before call CHECK_ERROR if it need to close fd 80/160980/3
authorSegwon <segwon.han@samsung.com>
Tue, 21 Nov 2017 04:06:56 +0000 (13:06 +0900)
committerSegwon <segwon.han@samsung.com>
Tue, 21 Nov 2017 06:22:14 +0000 (15:22 +0900)
commit08be8cf6f1e0210fed52b26dbb2af7be1a0c3a9c
tree430c524c1c77b39c5160555d5b35e7d85f7cbf97
parent1319e7e531056fa79b58b074b39e349e075b0682
interface: close the fd before call CHECK_ERROR if it need to close fd

Change-Id: I791e969c63da3c114f08ecdb3dbb303f9239dfb1
Signed-off-by: Segwon <segwon.han@samsung.com>
src/interface/peripheral_interface_gpio.c
src/interface/peripheral_interface_pwm.c