diff options
author | David Lechner <dlechner@baylibre.com> | 2023-11-17 14:13:03 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-20 13:29:13 +0000 |
commit | 4e991445478c6404a6846928093837249c52694a (patch) | |
tree | 760e33f025c445664bbb4edf4deb4b2eddb1dd0f /tools/perf/scripts/python/task-analyzer.py | |
parent | 4a074ddeb90f5e81738b401643651b2dea257f57 (diff) |
spi: axi-spi-engine: remove struct spi_engine::msg
In the AXI SPI Engine driver, the struct spi_engine::msg member was used
to keep track of the current message being processed. The SPI core is
already keeping track of this, so we don't need to duplicate the effort.
In most cases, we already have a pointer to the current message, so we
can pass it directly to the functions that need it. In the one case
where we don't have a pointer to the current message, we can get it
from struct spi_controller::cur_msg.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231117-axi-spi-engine-series-1-v1-12-cc59db999b87@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions