summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-pxa2xx.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-05-17 17:03:46 +0300
committerMark Brown <broonie@kernel.org>2021-05-18 16:05:32 +0300
commitccd60b2030a04b91977d9fee9e0ec6469ac4cd1b (patch)
tree0250b5898f14a697fdb0e5b65215c6c2d8be97a1 /drivers/spi/spi-pxa2xx.h
parentde6926f307e7ff605f3e37f11a4b3cc20c85c365 (diff)
downloadlinux-ccd60b2030a04b91977d9fee9e0ec6469ac4cd1b.tar.xz
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>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
-rw-r--r--drivers/spi/spi-pxa2xx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h
index a91fe6edb275..db9de46110ad 100644
--- a/drivers/spi/spi-pxa2xx.h
+++ b/drivers/spi/spi-pxa2xx.h
@@ -72,7 +72,6 @@ struct chip_data {
int (*write)(struct driver_data *drv_data);
int (*read)(struct driver_data *drv_data);
- unsigned int frm;
void (*cs_control)(u32 command);
};