diff options
author | 2024-01-27 22:14:15 +0100 | |
---|---|---|
committer | 2024-02-12 10:51:26 +0100 | |
commit | 8a5b477bb3e9c891eb064accabb3162ccf2c590e (patch) | |
tree | af33f7af9dbaf2594ab1a8fa25bd2e463cb676f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: remove unnecessary checks from gpiod_to_chip() (diff) | |
download | wireguard-linux-8a5b477bb3e9c891eb064accabb3162ccf2c590e.tar.xz wireguard-linux-8a5b477bb3e9c891eb064accabb3162ccf2c590e.zip |
gpio: add the can_sleep flag to struct gpio_device
Duplicating the can_sleep value in GPIO device will allow us to not
needlessly dereference the chip pointer in several places and reduce the
number of SRCU read-only critical sections.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions