bcma: fix unregistration of cores
authorPiotr Haber <phaber@broadcom.com>
Thu, 11 Oct 2012 12:05:15 +0000 (14:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Oct 2012 18:45:51 +0000 (14:45 -0400)
commit1fffa905adffbf0d3767fc978ef09afb830275eb
tree8e6d79639618a2bd4706f419eab2af74d5972578
parentd4fa14cd62bd078c8e3ef39283b9f237e5b2ff0f
bcma: fix unregistration of cores

When cores are unregistered, entries
need to be removed from cores list in a safe manner.

Reported-by: Stanislaw Gruszka <sgruszka@redhat.com>
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Piotr Haber <phaber@broadcom.com>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/main.c