spi: transfer the tx/rx data with the same structure variable 11/148011/1 accepted/tizen/unified/20170907.190204 submit/tizen/20170907.084231
authorkibak.yoon <kibak.yoon@samsung.com>
Wed, 6 Sep 2017 08:12:02 +0000 (17:12 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Wed, 6 Sep 2017 08:12:02 +0000 (17:12 +0900)
commit2c2412ce0706788c57fc1ffc3c2bd8834fc17a71
treef73a05c904bace0be0c085b2ae91bc89d8329dea
parent2f101512fca9df0b5c95cf2954141396a161f040
spi: transfer the tx/rx data with the same structure variable

- Tested with ADC(MCP3008)
- The name of spi_read_write() function will be changed to "spi_transfer()".

Change-Id: I6db7383854de46c5e45721fb9ec9da6ce4a51c8f
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/interface/spi.c