aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-01-27 22:14:15 +0100
committerBartosz Golaszewski <[email protected]>2024-02-12 10:51:26 +0100
commit8a5b477bb3e9c891eb064accabb3162ccf2c590e (patch)
treeaf33f7af9dbaf2594ab1a8fa25bd2e463cb676f3 /net/lapb/lapb_subr.c
parentc5cf334dcc78185da08b1f5df2d754cc7bf02669 (diff)
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 <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Acked-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions