commit | a20eefaee64610541d125cd2c10fa25e278f0bee | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Fri Jul 26 13:22:14 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 30 09:52:04 2019 +0200 |
tree | 770c6d277ba762b4e37481b190983f9245196d2b | |
parent | 5f251e986de05af8a177bfc632980cc64a4d3e7e [diff] |
staging: most: Use DEFINE_SPINLOCK() instead of struct spinlock For spinlocks the type spinlock_t should be used instead of "struct spinlock". Use DEFINE_SPINLOCK() and spare the run time initialization Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190704153803.12739-5-bigeasy@linutronix.de Link: https://lore.kernel.org/r/alpine.DEB.2.21.1907261319100.1791@nanos.tec.linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>