diff options
author | 2018-01-02 14:28:06 +0100 | |
---|---|---|
committer | 2018-01-03 12:19:24 +0000 | |
commit | 230c08b2acf65863ac5905ea1fa93106bdd20af3 (patch) | |
tree | c13fb8af844c6482236aab8cf0dda72bdb217ad1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | spi: spi-fsl-dspi: add SPI_LSB_FIRST to driver capabilities (diff) | |
download | linux-dev-230c08b2acf65863ac5905ea1fa93106bdd20af3.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions