OSDN Git Service

gpiolib: Use spinlock_t instead of struct spinlock
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 4 Jul 2019 15:38:03 +0000 (17:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 6 Jul 2019 18:14:22 +0000 (20:14 +0200)
commitf0b40863bee4e5f689f6c839b4d0b512b8f0fdbe
tree2f965d9b1fa96b2b2dcac0dbee7ec60124c65264
parent5099837d2f809c75d45efa32595c712ca245a432
gpiolib: Use spinlock_t instead of struct spinlock

For spinlocks the type spinlock_t should be used instead of "struct
spinlock".

Use spinlock_t for spinlock's definition.

Cc: linux-gpio@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20190704153803.12739-8-bigeasy@linutronix.de
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.h