Thadeu Lima de Souza Cascardo 8cc6b6cd87 powerpc/eeh: Drop taken reference to driver on eeh_rmv_device
Commit f5c57710dd62dd06f176934a8b4b8accbf00f9f8 ("powerpc/eeh: Use
partial hotplug for EEH unaware drivers") introduces eeh_rmv_device,
which may grab a reference to a driver, but not release it.

That prevents a driver from being removed after it has gone through EEH
recovery.

This patch drops the reference if it was taken.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Acked-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-02-11 11:24:46 +11:00
..
2013-11-21 10:33:36 +11:00
2014-01-15 13:58:29 +11:00
2013-10-11 16:53:26 +11:00
2011-03-31 11:26:23 -03:00
2013-12-30 15:19:31 +11:00
2013-10-11 18:23:53 +11:00
2011-03-31 11:26:23 -03:00
2013-08-14 15:33:22 +10:00
2013-12-30 15:19:31 +11:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2014-01-15 13:59:03 +11:00