Messages in this thread | | | From | Linus Walleij <> | Date | Tue, 7 Jan 2020 11:43:44 +0100 | Subject | Re: [PATCH 08/16] pinctrl: ssbi-mpp: constify copied structure |
| |
On Wed, Jan 1, 2020 at 9:20 AM Julia Lawall <Julia.Lawall@inria.fr> wrote:
> The pm8xxx_pinctrl_desc structure is only copied into another structure, > so make it const. > > The opportunity for this change was found using Coccinelle. > > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
That's a pretty cool semantic check finding things like this!
Patch applied.
Yours, Linus Walleij
| |