diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-02-16 14:52:17 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-02-17 20:02:22 +0100 |
commit | 4a92857d6e8383eca6d661538bb25dc7004fd391 (patch) | |
tree | 93bafe81c235f7dea0eaadc842b99b219ed0eda7 /drivers/gpio/gpio-74x164.c | |
parent | gpio: cdev: fix a NULL-pointer dereference with DEBUG enabled (diff) | |
download | linux-4a92857d6e8383eca6d661538bb25dc7004fd391.tar.xz linux-4a92857d6e8383eca6d661538bb25dc7004fd391.zip |
gpio: constify opaque pointer "data" in gpio_device_find()
The opaque pointer "data" in each match function used by
gpio_device_find() is a pointer to const, thus the same argument passed
to gpio_device_find() can adjusted similarly.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-74x164.c')
0 files changed, 0 insertions, 0 deletions