spi: s3c64xx: constify driver/match data
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 14 Apr 2021 20:33:43 +0000 (22:33 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 15 Apr 2021 15:07:58 +0000 (16:07 +0100)
commitd6371415517700ae225dd1aaa8a35a86a659ada6
tree60939c35b8197dacf1c5ca729cb85f7a365b85d3
parent7d712f799a938b37d24359ea836f58866be5e0bb
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>
drivers/spi/spi-s3c64xx.c