diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2022-05-10 12:51:41 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-10 14:01:59 +0100 |
commit | 0d8688298d6a43f2e187dad1e45871248123764f (patch) | |
tree | 482295910556b52f3b262ae4328e31c9ee4e3df0 | |
parent | 76159e2f9a0fa29fd9fccb262687d95282985b49 (diff) | |
download | linux-0d8688298d6a43f2e187dad1e45871248123764f.tar.bz2 |
spi: cadence-quadspi: remove unnecessary (void *) casts
Remove a couple of unnecessary casts to `(void *)` when initializing the
`.data` members in the device ID table.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20220510115141.212779-3-abbotti@mev.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-cadence-quadspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-cadence-quadspi.c b/drivers/spi/spi-cadence-quadspi.c index 242ad8a8a7aa..edd6491c967c 100644 --- a/drivers/spi/spi-cadence-quadspi.c +++ b/drivers/spi/spi-cadence-quadspi.c @@ -1811,11 +1811,11 @@ static const struct of_device_id cqspi_dt_ids[] = { }, { .compatible = "xlnx,versal-ospi-1.0", - .data = (void *)&versal_ospi, + .data = &versal_ospi, }, { .compatible = "intel,socfpga-qspi", - .data = (void *)&socfpga_qspi, + .data = &socfpga_qspi, }, { /* end of table */ } }; |