pinctrl: armada-37xx: account for const type of of_device_id.data
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 2 Jan 2018 13:28:01 +0000 (14:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Jan 2018 07:15:48 +0000 (08:15 +0100)
commit924f5494da610664cc5a9fccc12d32fbbc6214d3
tree8a47ea5f854d7e38d1c2155e9b04d7f716898ce4
parent9b8ee3c0f6b27f9fb5dbc382afa7ef1f05fed491
pinctrl: armada-37xx: account for const type of of_device_id.data

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@lip6.fr>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c