Andy Shevchenko d2403cadc1 serial: core: Consolidate spin lock initialization code
We have two times duplicated excerpt where we initialize spin lock
for UART port. Consolidate it under uart_port_spin_lock_init() helper.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200214114339.53897-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 08:34:18 -08:00
..
2019-12-03 14:09:14 -08:00
2020-01-13 12:13:05 +01:00
2019-11-13 19:01:14 +08:00
2019-04-16 15:21:34 +02:00
2018-10-13 00:50:32 -04:00
2019-09-04 12:43:44 +02:00
2019-11-04 17:42:28 +01:00
2019-12-30 19:34:44 +01:00
2019-04-16 15:21:34 +02:00