spi: bcm2835: fix typo in comment
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 5 Nov 2019 21:41:34 +0000 (10:41 +1300)
committerMark Brown <broonie@kernel.org>
Tue, 5 Nov 2019 23:48:39 +0000 (23:48 +0000)
GPIOS_OUT_LOW should be GPIOD_OUT_LOW.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20191105214134.25142-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835.c

index b4070c0de3dff56fd172271a98109351c28824d3..fb61a620effc54d49afbfcd09b3a59c7e8fedd2e 100644 (file)
@@ -1248,7 +1248,7 @@ static int bcm2835_spi_setup(struct spi_device *spi)
        /*
         * Retrieve the corresponding GPIO line used for CS.
         * The inversion semantics will be handled by the GPIO core
-        * code, so we pass GPIOS_OUT_LOW for "unasserted" and
+        * code, so we pass GPIOD_OUT_LOW for "unasserted" and
         * the correct flag for inversion semantics. The SPI_CS_HIGH
         * on spi->mode cannot be checked for polarity in this case
         * as the flag use_gpio_descriptors enforces SPI_CS_HIGH.