Commit 0d868829 authored by Ian Abbott's avatar Ian Abbott Committed by Mark Brown

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: default avatarIan Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20220510115141.212779-3-abbotti@mev.co.ukSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 76159e2f
...@@ -1811,11 +1811,11 @@ static const struct of_device_id cqspi_dt_ids[] = { ...@@ -1811,11 +1811,11 @@ static const struct of_device_id cqspi_dt_ids[] = {
}, },
{ {
.compatible = "xlnx,versal-ospi-1.0", .compatible = "xlnx,versal-ospi-1.0",
.data = (void *)&versal_ospi, .data = &versal_ospi,
}, },
{ {
.compatible = "intel,socfpga-qspi", .compatible = "intel,socfpga-qspi",
.data = (void *)&socfpga_qspi, .data = &socfpga_qspi,
}, },
{ /* end of table */ } { /* end of table */ }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment