summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2014-04-05 16:31:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-16 14:31:13 -0700
commit1e7da0530423a232747d64c2113ace55b01e5754 (patch)
tree1fc23712d3dc3ce9d7453ba0427f5a6075651869 /drivers/staging
parent9ca83fd2d5805a5e4608a901ffa802697adc638b (diff)
downloadlinux-1e7da0530423a232747d64c2113ace55b01e5754.tar.bz2
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>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions