spi: sh-msiof: Remove casts to drop constness
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 13 Mar 2023 10:58:38 +0000 (11:58 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 14:09:07 +0000 (14:09 +0000)
commit7859ad5a401b73bf2ddfa274950b5722492c3150
tree38ea7bc99c7b10b7de965f7b3d5e66831562e051
parentd2f19eec510424caa55ea949f016ddabe2d8173a
spi: sh-msiof: Remove casts to drop constness

Now the chip select APIs take const pointers, there is no longer a need
to cast away constness.

Fixes: 9e264f3f85a56cc1 ("spi: Replace all spi->chip_select and spi->cs_gpiod references with function call")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/bc14c7c75f8d63c5c11f61f80daaa53b12bb15fb.1678704562.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c