Re: [PATCH v2 3/3] mmc: sdhci-s3c: constify uses of driver/match data

From: Sylwester Nawrocki
Date: Thu Apr 15 2021 - 05:42:30 EST




On 15.04.2021 10:44, Krzysztof Kozlowski wrote:
The driver data (struct sdhci_s3c_drv_data) stored in of_device_id
table is allocated as const and used only in const-way. Skip
unnecessary const-away casts and convert all users to work with pointer
to const. This is both more logical and safer.

Signed-off-by: Krzysztof Kozlowski<krzysztof.kozlowski@xxxxxxxxxxxxx>

Reviewed-by: Sylwester Nawrocki <snawrocki@xxxxxxxxxx>