spi_get_next_queued_message — called by driver to check for queued messages
struct spi_message * spi_get_next_queued_message (
)
master
the master to check for queued messages
If there are more messages in the queue, the next message is returned from this call.
the next message in the queue, else NULL if the queue is empty.