Re: [PATCH 3/3] spi: s3c64xx: constify driver/match data

2021-04-15 Thread Sylwester Nawrocki
On 14.04.2021 22:33, Krzysztof Kozlowski wrote: 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 Review

[PATCH 3/3] spi: s3c64xx: constify driver/match data

2021-04-14 Thread Krzysztof Kozlowski
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 --- drivers/spi/spi-s3c64xx.c | 21 ++---