diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-01-02 14:28:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-03 13:19:24 +0100 |
commit | 230c08b2acf65863ac5905ea1fa93106bdd20af3 (patch) | |
tree | c13fb8af844c6482236aab8cf0dda72bdb217ad1 /Documentation/sound/oss/mwave | |
parent | spi: spi-fsl-dspi: add SPI_LSB_FIRST to driver capabilities (diff) | |
download | linux-230c08b2acf65863ac5905ea1fa93106bdd20af3.tar.xz linux-230c08b2acf65863ac5905ea1fa93106bdd20af3.zip |
spi: spi-fsl-dspi: account for const type of of_device_id.data
This driver creates a number of const structures that it stores in the
data field of an of_device_id array.
The data field of an of_device_id structure has type const void *, so
there is no need for a const-discarding cast when putting const values
into such a structure.
Done using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/sound/oss/mwave')
0 files changed, 0 insertions, 0 deletions