diff options
author | Alexandru Ardelean <aardelean@deviqon.com> | 2021-03-08 16:55:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-12 14:30:50 +0000 |
commit | 3ab1cce553378fc0df1b1d26d7e23d03bd4dd3b6 (patch) | |
tree | b0ed59c3bbb7ebf95ddf634630b6edcc5acbf782 /drivers/spi | |
parent | 55a47532fa4c5dc3291d796dd21cc80034b5d067 (diff) |
spi: core: remove 'delay_usecs' field from spi_transfer
The 'delay' field in the spi_transfer struct is meant to replace the
'delay_usecs' field. However some cleanup was required to remove the
uses of 'delay_usecs'. Now that it's been cleaned up, we can remove it
from the kernel tree.
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210308145502.1075689-10-aardelean@deviqon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index b08efe88ccd6..481427780162 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -3178,7 +3178,6 @@ struct spi_replaced_transfers *spi_replace_transfers( /* clear cs_change and delay for all but the last */ if (i) { xfer->cs_change = false; - xfer->delay_usecs = 0; xfer->delay.value = 0; } } |