Guennadi Liakhovetski 1e7da05304 serial: amba-pl011: fix regression, causing an Oops on rmmod
A recent commit ef2889f7ffee67f0aed49e854c72be63f1466759 "serial: pl011:
Move uart_register_driver call to device probe" introduced a regression,
causing the pl011 driver to Oops if more than 1 port have been probed. Fix
the Oops by only calling uart_unregister_driver() once after the last port
has been removed.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-16 14:31:13 -07:00
..
2014-02-28 16:31:00 -08:00
2014-02-28 16:25:47 -08:00
2013-01-15 22:30:15 -08:00
2013-03-18 16:24:29 -07:00
2013-12-08 16:56:05 -08:00
2014-02-13 10:18:48 -08:00
2013-10-16 13:08:16 -07:00
2013-07-24 15:12:53 -07:00
2014-03-17 16:13:23 -07:00
2014-03-17 16:13:23 -07:00
2014-02-28 16:31:00 -08:00
2014-04-16 14:31:13 -07:00