Refactor qcaspi_transmit() to avoid exceeding line limit

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fix style issues found by checkpatch.pl

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>