diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-08-06 16:59:42 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-08-29 08:53:37 +0200 |
commit | 0d1e31abcaf5a3f5ebff81fa0c1322c2b17e59dd (patch) | |
tree | 78e058d09017133c86b2426a7c19fd015f00c066 /lib/notifier-error-inject.h | |
parent | gpio: tb10x: Create local helper variables (diff) | |
download | linux-0d1e31abcaf5a3f5ebff81fa0c1322c2b17e59dd.tar.xz linux-0d1e31abcaf5a3f5ebff81fa0c1322c2b17e59dd.zip |
gpio: tb10x: Use GENERIC_GPIO
Instead of open coding logic for reading and writing GPIO lines,
use the generic GPIO library. Also switch to using the spinlock
from the generic GPIO to protect the registers.
Cc: linux-snps-arc@lists.infradead.org
Acked-by: Christian Ruppert <christian.ruppert@alitech.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/notifier-error-inject.h')
0 files changed, 0 insertions, 0 deletions