summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-08-18 17:31:38 +0800
committerMark Brown <broonie@kernel.org>2023-08-21 14:29:24 +0100
commit60ba4431c8e8c137f92d050b9f0bfc8e8c26a364 (patch)
tree8350aff2b073b4a5622ba8a8810d93e0e25020be /include/linux/spi
parent71345830575984c01c4c2b655ef3a7877100fba3 (diff)
downloadlinux-60ba4431c8e8c137f92d050b9f0bfc8e8c26a364.tar.gz
linux-60ba4431c8e8c137f92d050b9f0bfc8e8c26a364.tar.bz2
linux-60ba4431c8e8c137f92d050b9f0bfc8e8c26a364.zip
spi: pxa2xx: switch to use modern name
Change legacy name master/slave to modern name host/target or controller. No functional changed. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20230818093154.1183529-8-yangyingliang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/pxa2xx_spi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h
index 4658e7801b42..0916cb9bcb0a 100644
--- a/include/linux/spi/pxa2xx_spi.h
+++ b/include/linux/spi/pxa2xx_spi.h
@@ -19,7 +19,7 @@ struct pxa2xx_spi_controller {
u16 num_chipselect;
u8 enable_dma;
u8 dma_burst_size;
- bool is_slave;
+ bool is_target;
/* DMA engine specific config */
bool (*dma_filter)(struct dma_chan *chan, void *param);
@@ -31,7 +31,7 @@ struct pxa2xx_spi_controller {
};
/*
- * The controller specific data for SPI slave devices
+ * The controller specific data for SPI target devices
* (resides in spi_board_info.controller_data),
* copied to spi_device.platform_data ... mostly for
* DMA tuning.