commit | 9b8ee3c0f6b27f9fb5dbc382afa7ef1f05fed491 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Tue Jan 02 14:28:04 2018 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Jan 08 08:15:47 2018 +0100 |
tree | 154a769ba587a39d83f9da28676c6ba682523b09 | |
parent | 8b74c7d3e30fdd3f2c083d3becae7be6cd38989f [diff] |
pinctrl: axp209: account for const type of of_device_id.data 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@lip6.fr> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>