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

2018-01-03 Thread Linus Walleij
On Tue, Jan 2, 2018 at 2:28 PM, Julia Lawall 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

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

2018-01-03 Thread Linus Walleij
On Tue, Jan 2, 2018 at 2:28 PM, Julia Lawall 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 Patch applied

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

2018-01-02 Thread Gregory CLEMENT
Hi Julia, On mar., janv. 02 2018, Julia Lawall 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:

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

2018-01-02 Thread Gregory CLEMENT
Hi Julia, On mar., janv. 02 2018, Julia Lawall 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

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

2018-01-02 Thread Julia Lawall
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 --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c |4

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

2018-01-02 Thread Julia Lawall
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 --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c |4 ++-- 1 file changed, 2