[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZhQKtrRgGu17OkDca3XR1tOSj00hDABfv6JKTUDh2xBg@mail.gmail.com>
Date: Wed, 3 Jan 2018 09:03:41 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Julia Lawall <Julia.Lawall@...6.fr>
Cc: Jason Cooper <jason@...edaemon.net>,
kernel-janitors@...r.kernel.org, Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...e-electrons.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
linux-gpio@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 05/12] pinctrl: armada-37xx: account for const type of of_device_id.data
On Tue, Jan 2, 2018 at 2:28 PM, Julia Lawall <Julia.Lawall@...6.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@...6.fr>
Patch applied with Gregory's ACK.
Yours,
Linus Walleij
Powered by blists - more mailing lists