gpio: constify of_phandle_args in of_find_gpio_device_by_xlate()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 20 Feb 2024 07:26:02 +0000 (08:26 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 20 Feb 2024 11:44:49 +0000 (12:44 +0100)
commitee9d5895672fe723a1626a91e4957fd3cd5cfdda
tree3e35e06dca74b7adea461d0f06adfe3acd84f3be
parent24ba441d2b06614871b2787d5c2e16e7f1a15462
gpio: constify of_phandle_args in of_find_gpio_device_by_xlate()

Pointer to the struct of_phandle_args can be made const after
gpio_device_find() arguments got constified.  This should be part of
commit 4a92857d6e83 ("gpio: constify opaque pointer "data" in
gpio_device_find()").

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-of.c