spi: dw-mmio: keep old name same as documentation
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 16 Aug 2023 09:39:38 +0000 (17:39 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Aug 2023 11:58:07 +0000 (12:58 +0100)
The documentation has not use the new name(host/target),
so keep the comment words same as documentation used.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230816093938.1274806-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c

index 9e041a28ed472bbdb58ac1c7d29dfa8b72ff1c49..805264c9c65c6518af56163faa5d6ae6e01a55ff 100644 (file)
@@ -68,7 +68,7 @@ struct dw_spi_mscc {
                ((((val) << 1) | BIT(0)) << ELBA_SPICS_OFFSET(cs))
 
 /*
- * The Designware SPI controller (referred to as host in the documentation)
+ * The Designware SPI controller (referred to as master in the documentation)
  * automatically deasserts chip select when the tx fifo is empty. The chip
  * selects then needs to be either driven as GPIOs or, for the first 4 using
  * the SPI boot controller registers. the final chip select is an OR gate
@@ -142,7 +142,7 @@ static int dw_spi_mscc_jaguar2_init(struct platform_device *pdev,
 }
 
 /*
- * The Designware SPI controller (referred to as host in the
+ * The Designware SPI controller (referred to as master in the
  * documentation) automatically deasserts chip select when the tx fifo
  * is empty. The chip selects then needs to be driven by a CS override
  * register. enable is an active low signal.