[PATCH 05/12] pinctrl: armada-37xx: account for const type of of_device_id.data
Linus Walleij
linus.walleij at linaro.org
Wed Jan 3 00:03:41 PST 2018
On Tue, Jan 2, 2018 at 2:28 PM, Julia Lawall <Julia.Lawall at lip6.fr> wrote:
> The data field of an of_device_id structure has type const void *, so
> there is no need for a const-discarding cast when putting const values
> into such a structure.
>
> Done using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>
Patch applied with Gregory's ACK.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list