mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
gpio: stp-xway: Implement get callback
Add an implementation to get the current GPIO state. The callback is used by the leds-gpio driver for example, in case the current LED/GPIO state should be kept during driver load. Signed-off-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
bac5c3b829
commit
5b9b2b5284
1 changed files with 15 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue