api/spi: Reduce parameter number on transceive function
tx_bufs/tx_count and rx_bufs/rx_count can be hold in another dedicated
structure, thus reducing the number of parameters to transceive. This
permits to avoid using the stack when calling transceive.
Since we saved parameters, we can expose back the struct device pointer,
to stay consistent with other device driver APIs.
Fixes #5839
Signed-off-by:
Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Loading
Please sign in to comment