]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: qcom: ssbi-gpio: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:32 +0000 (08:43 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Jan 2020 12:55:55 +0000 (13:55 +0100)
commit0b2d113fddd6f5bdcb9adfec1cc9103e587600ab
tree428f790c78136e95f9aaaef53c11cbb6e1a5f764
parent9c11448643d8efa895e8ade24705bfe772f1ca82
pinctrl: qcom: ssbi-gpio: constify copied structure

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>
Link: https://lore.kernel.org/r/1577864614-5543-15-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c