summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-zynqmp-gqspi.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-04-14 22:33:43 +0200
committerMark Brown <broonie@kernel.org>2021-04-15 17:07:58 +0200
commitd6371415517700ae225dd1aaa8a35a86a659ada6 (patch)
tree60939c35b8197dacf1c5ca729cb85f7a365b85d3 /drivers/spi/spi-zynqmp-gqspi.c
parentspi: s3c64xx: correct kerneldoc of s3c64xx_spi_port_config (diff)
downloadlinux-d6371415517700ae225dd1aaa8a35a86a659ada6.tar.xz
linux-d6371415517700ae225dd1aaa8a35a86a659ada6.zip
spi: s3c64xx: constify driver/match data
The match data (struct s3c64xx_spi_port_config) stored in of_device_id and platform_device_id tables is not modified by the driver and can be handled entirely in a const-way to increase the code safety. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Sylwester Nawrocki <snawrocki@kernel.org> Link: https://lore.kernel.org/r/20210414203343.203119-3-krzysztof.kozlowski@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-zynqmp-gqspi.c')
0 files changed, 0 insertions, 0 deletions