]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit877c97fdec3df0cb228e74eba0c1b698e5f7495f
treecdfbcc3c169819c566cb9825951ff97ad418ff8b
parent0638a20c13a0ee5f481197b964e4597816304d96
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