watchdog: ie6xx_wdt: Use spinlock_t instead of struct spinlock
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 4 Jul 2019 15:38:01 +0000 (17:38 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 8 Jul 2019 18:46:48 +0000 (20:46 +0200)
For spinlocks the type spinlock_t should be used instead of "struct
spinlock".

Use spinlock_t for spinlock's definition.

Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/ie6xx_wdt.c

index c2de1ea..8f28993 100644 (file)
@@ -66,7 +66,7 @@ MODULE_PARM_DESC(resetmode,
 
 static struct {
        unsigned short sch_wdtba;
-       struct spinlock unlock_sequence;
+       spinlock_t unlock_sequence;
 #ifdef CONFIG_DEBUG_FS
        struct dentry *debugfs;
 #endif