From: Guennadi Liakhovetski Date: Sat, 5 Apr 2014 14:31:08 +0000 (+0200) Subject: serial: amba-pl011: fix regression, causing an Oops on rmmod X-Git-Tag: omap-for-v3.16/soc-signed~46^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e7da0530423a232747d64c2113ace55b01e5754;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed