spi: Constify spi parameters of chip select APIs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 13 Mar 2023 10:58:37 +0000 (11:58 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 14:09:06 +0000 (14:09 +0000)
commitd2f19eec510424caa55ea949f016ddabe2d8173a
tree7c8b0bf4712309e397b2d29550322bc45becfb29
parent38dca04d659a422d842f7edcecd32253c7a6fb5e
spi: Constify spi parameters of chip select APIs

The "spi" parameters of spi_get_chipselect() and spi_get_csgpiod() can
be const.

Fixes: 303feb3cc06ac066 ("spi: Add APIs in spi core to set/get spi->chip_select and spi->cs_gpiod")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/b112de79e7a1e9095a3b6ff22b639f39e39d7748.1678704562.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi.h