diff options
author | Mark Brown <broonie@kernel.org> | 2023-07-12 13:44:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-12 13:44:34 +0200 |
commit | 64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc (patch) | |
tree | d8bf85fbd70aa93895af5b2d0b76e532ce753d7d /drivers/spi/spi-atmel.c | |
parent | Allwinner R329/D1/R528/T113s Dual/Quad SPI modes (diff) | |
parent | spi: Fix spelling typos and acronyms capitalization (diff) | |
download | linux-64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc.tar.xz linux-64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc.zip |
spi: Header and core clean up and refactoring
Merge series from Andy Shevchenko <andriy.shevchenko@linux.intel.com>:
Various cleanups and refactorings of the SPI header and core parts
united in a single series. It also touches drivers under SPI subsystem
folder on the pure renaming purposes of some constants.
No functional change intended.
Diffstat (limited to 'drivers/spi/spi-atmel.c')
-rw-r--r-- | drivers/spi/spi-atmel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 8a9c8b92be8c..6aa8adbe4170 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -1471,8 +1471,8 @@ static int atmel_spi_probe(struct platform_device *pdev) host->bus_num = pdev->id; host->num_chipselect = 4; host->setup = atmel_spi_setup; - host->flags = (SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX | - SPI_MASTER_GPIO_SS); + host->flags = (SPI_CONTROLLER_MUST_RX | SPI_CONTROLLER_MUST_TX | + SPI_CONTROLLER_GPIO_SS); host->transfer_one = atmel_spi_one_transfer; host->set_cs = atmel_spi_set_cs; host->cleanup = atmel_spi_cleanup; |