[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbiM=5KpG8PQndX2L9RN0AoNpuz-foWBLAWO_9vEN5osQ@mail.gmail.com>
Date: Wed, 3 Jan 2018 08:59:26 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Julia Lawall <Julia.Lawall@...6.fr>
Cc: kernel-janitors@...r.kernel.org, Chen-Yu Tsai <wens@...e.org>,
linux-gpio@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 08/12] pinctrl: axp209: 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 return value of of_device_get_match_data has type const void *.
> The desc field of the pctl structure also has a const type, so there
> is no need for the const-discarding cast between them.
>
> Done using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists