diff options
author | 2025-03-05 15:13:00 +0200 | |
---|---|---|
committer | 2025-03-05 14:36:04 +0100 | |
commit | f636d4f60ac477187a466a573f947731fa762059 (patch) | |
tree | 6c46162efdca8688a6e0a18b6c87a630949dfa8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: Respect valid_mask when requesting GPIOs (diff) | |
download | wireguard-linux-f636d4f60ac477187a466a573f947731fa762059.tar.xz wireguard-linux-f636d4f60ac477187a466a573f947731fa762059.zip |
gpio: Add a valid_mask getter
The valid_mask member of the struct gpio_chip is unconditionally written
by the GPIO core at driver registration. It shouldn't be directly
populated by drivers. This can be prevented by moving it from the struct
gpio_chip to struct gpio_device, which is internal to the GPIO core.
As a preparatory step, provide a getter function which can be used by
those drivers which need the valid_mask information.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/026f9d78502eca883bfe3faeb684e23d5d6c5e84.1741180097.git.mazziesaccount@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions