spi: iotbus: fix mismatched prototype declarations
authorHeesub Shin <heesub.shin@samsung.com>
Tue, 4 Apr 2017 04:29:37 +0000 (13:29 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:07 +0000 (12:02 +0900)
commitf5dd07d5a9229d2cf42dff8ca9abda7d6c3ab3c1
tree607806bd618a3791958dc0f1bb56e1f80b329aa4
parent50c17011434b0e9702e410b26a9cb4da9ba0de1a
spi: iotbus: fix mismatched prototype declarations

SPI operations .setmode and .setbits return void. Every callsites
that expect those will return an integer should be fixed also.

Change-Id: I1ee20d89f2777b193e5eac3831f9e3c004868209
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
framework/src/iotbus/iotbus_spi.c
os/include/tinyara/spi/spi.h