error: return a recongnizable error value 89/160489/1
authorSegwon <segwon.han@samsung.com>
Thu, 16 Nov 2017 09:09:07 +0000 (18:09 +0900)
committerSegwon <segwon.han@samsung.com>
Thu, 16 Nov 2017 09:16:16 +0000 (18:16 +0900)
commit45e1c0feca7b87aa800f30b52b465f8829673c94
tree579d5abb93825397a1cc0a1bb0095fd23f1ae840
parenta058314196d23b4e7d65521873d7f16fe0ddfffe
error: return a recongnizable error value

 - unclear PERIPHERAL_ERROR_UNKNOWN error is returning too much
 - change linux error type usage to error value defined by peripheral_io

Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I3196ed16afafa3a83ba5362287d7281dcd255192
17 files changed:
include/interface/peripheral_interface_common.h
src/gdbus/peripheral_gdbus_gpio.c
src/gdbus/peripheral_gdbus_i2c.c
src/gdbus/peripheral_gdbus_pwm.c
src/gdbus/peripheral_gdbus_spi.c
src/gdbus/peripheral_gdbus_uart.c
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
test/peripheral-io-test.c
test/src/test_peripheral_gpio.c
test/src/test_peripheral_i2c.c
test/src/test_peripheral_pwm.c
test/src/test_peripheral_spi.c
test/src/test_peripheral_uart.c