diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-22 22:06:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-23 12:09:10 +0000 |
commit | 44ec41b7f7831f91c79a06de5e45f2d7ce6e4fbd (patch) | |
tree | b525b97977cf99f1b6f43553f0814feb7409015d /drivers/spi/spidev.c | |
parent | dd06a0c6b6f64f6610c0bb8f7651df3ebfb0f990 (diff) | |
download | linux-44ec41b7f7831f91c79a06de5e45f2d7ce6e4fbd.tar.bz2 |
spi: pxa2xx: Remove redundant ->read() and ->write() in struct chip_data
Since the commit 196b0e2cf237 ("spi: pxa2xx: Remove if statement
that is always true in pump_transfers()") the ->read() and ->write()
methods in the struct driver_data are reconfigured for each transfer.
Hence no need to keep the intermediate state in the struct chip_data.
The same applies to n_bytes member of the same data structure.
Get rid of unneeded storage for good.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211122200622.43305-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions