Skip to content
Commit 297a44f6 authored by Michael Walle's avatar Michael Walle Committed by Bartosz Golaszewski
Browse files

gpio: regmap: use new regmap_might_sleep()



Now that the regmap can be queried whether it might sleep, we can get
rid of the conservative setting "can_sleep = true". New drivers which
want to use gpio-regmap and can access the registers memory-mapped won't
have the restriction that their consumers have to use the
gpiod_*cansleep() variants anymore.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 79aabb1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment