spi: Use an abbreviated pointer to ctlr->cur_msg in __spi_pump_messages
authorVladimir Oltean <olteanv@gmail.com>
Thu, 5 Sep 2019 01:01:11 +0000 (04:01 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 5 Sep 2019 17:20:12 +0000 (18:20 +0100)
commitd1c44c9342c17e3314371325d9272684a075b65c
treecdfbcc3c169819c566cb9825951ff97ad418ff8b
parenta0ce1fd11e587be803eb2f299d478c962df3706f
spi: Use an abbreviated pointer to ctlr->cur_msg in __spi_pump_messages

This helps a bit with line fitting now (the list_first_entry call) as
well as during the next patch which needs to iterate through all
transfers of ctlr->cur_msg so it timestamps them.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20190905010114.26718-2-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c