diff options
| author | Julia Lawall <[email protected]> | 2018-01-02 13:28:06 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-01-03 12:19:24 +0000 |
| commit | 230c08b2acf65863ac5905ea1fa93106bdd20af3 (patch) | |
| tree | c13fb8af844c6482236aab8cf0dda72bdb217ad1 /net/unix/af_unix.c | |
| parent | spi: spi-fsl-dspi: add SPI_LSB_FIRST to driver capabilities (diff) | |
| download | kernel-230c08b2acf65863ac5905ea1fa93106bdd20af3.tar.gz kernel-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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
