spi: struct spi_device constification
authorMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 18:19:31 +0000 (18:19 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 18:19:31 +0000 (18:19 +0000)
Merge series from Geert Uytterhoeven <geert+renesas@glider.be>:

After noticing new cases of casting away constness, I went over all
spi_get_*() functions and their callers, and made the following changes:
  1. Make all pointer parameters const where possible,
  2. Remove unneeded casts, some not even related to constness.

1  2 
drivers/spi/spi-sh-msiof.c

Simple merge