summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2025-03-05 15:13:00 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-03-05 14:36:04 +0100
commitf636d4f60ac477187a466a573f947731fa762059 (patch)
tree6c46162efdca8688a6e0a18b6c87a630949dfa8d /tools/perf/scripts/python/export-to-sqlite.py
parenta501624864f3fd9ab785f1f674f48dca535b198c (diff)
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions