commit | 230c08b2acf65863ac5905ea1fa93106bdd20af3 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Tue Jan 02 14:28:06 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Jan 03 12:19:24 2018 +0000 |
tree | c13fb8af844c6482236aab8cf0dda72bdb217ad1 | |
parent | 00ac9562158e8541d60e91eb72aa9ed0674d4a6a [diff] |
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>