interface: use the CHECK_ERROR macro for error set by system call 22/160022/3
authorSegwon <segwon.han@samsung.com>
Tue, 14 Nov 2017 06:55:58 +0000 (15:55 +0900)
committerSegwon Han <segwon.han@samsung.com>
Tue, 14 Nov 2017 08:30:32 +0000 (08:30 +0000)
commit91cec9be39189285a4532ee6e1f9a36187b46e45
tree2dacd3eb01418b0b4677c0747d5131c41ebee8c4
parent503baca692cf21f5f652d9418b2efce068fc45a5
interface: use the CHECK_ERROR macro for error set by system call

 - created a peripheral_interface_common.h file and implemented error macro
 - macro name : CHECK_ERROR

Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I5d1167ab2d7aa3e5e3b22ef2192efbd68b1f17bc
include/interface/peripheral_interface_common.h [new file with mode: 0644]
src/interface/peripheral_interface_gpio.c
src/interface/peripheral_interface_i2c.c
src/interface/peripheral_interface_pwm.c
src/interface/peripheral_interface_spi.c
src/interface/peripheral_interface_uart.c