[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bc8cb322-3f65-4387-2942-ed51d0eaca5d@kernel.org>
Date: Thu, 15 Apr 2021 11:42:24 +0200
From: Sylwester Nawrocki <snawrocki@...nel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Ben Dooks <ben-linux@...ff.org>,
Jaehoon Chung <jh80.chung@...sung.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Marek Szyprowski <m.szyprowski@...sung.com>
Subject: Re: [PATCH v2 3/3] mmc: sdhci-s3c: constify uses of driver/match data
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@...onical.com>
Reviewed-by: Sylwester Nawrocki <snawrocki@...nel.org>
Powered by blists - more mailing lists