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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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>



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux