diff options
author | Lukas Wunner <lukas@wunner.de> | 2020-05-04 14:12:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-04 19:18:49 +0300 |
commit | 36c72a58d472b4032e09f165ea064a0251c9df07 (patch) | |
tree | 076a2f22125d4ba1ce97332c82202c28000690a0 /net/Kconfig | |
parent | 7b9c94bd13cc9dc9c0c4932ebacf756ae612d52a (diff) | |
download | linux-36c72a58d472b4032e09f165ea064a0251c9df07.tar.xz |
spi: amd: Drop superfluous member from struct amd_spi
The AMD SPI driver stores a pointer to the spi_master in struct amd_spi
so that it can get from the latter to the former in amd_spi_fifo_xfer().
It's simpler to just pass the pointer from the sole caller
amd_spi_master_transfer() and drop the pointer from struct amd_spi.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/a088b684ad292faf3bd036e51529e608e5c94638.1588590210.git.lukas@wunner.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions