]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: Drop duplicate chip_select in struct chip_data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 May 2021 14:03:46 +0000 (17:03 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 18 May 2021 13:05:32 +0000 (14:05 +0100)
commit5a5c3007458fae9e5f48ce3bc5a84cc8aea44673
tree0250b5898f14a697fdb0e5b65215c6c2d8be97a1
parent2cfc8aa382db4fadbe25a8e648603c3f322ba83a
spi: pxa2xx: Drop duplicate chip_select in struct chip_data

The struct chip_data had been introduced in order to keep the parameters
that may be provided on stack during device allocation. There is no need
to duplicate parameters there, which are carried on by SPI device itself.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210517140351.901-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h