Thread (16 messages) 16 messages, 7 authors, 2018-01-17

[PATCH 05/12] pinctrl: armada-37xx: account for const type of of_device_id.data

From: Linus Walleij <hidden>
Date: 2018-01-03 08:03:44
Also in: kernel-janitors, linux-gpio, lkml

On Tue, Jan 2, 2018 at 2:28 PM, Julia Lawall [off-list ref] 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 <redacted>
Patch applied with Gregory's ACK.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help