ioat: do not perform removal actions at shutdown
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:20 +0000 (11:38 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:20 +0000 (11:38 -0700)
commit4fac7fa57cf8001be259688468c825f836daf739
treee59ab78a86f0599416b6255569d41d2ecc0d5512
parent630738b9a52bee40cba685f4ff43fbbc28f2e1ff
ioat: do not perform removal actions at shutdown

Unregistering services should only happen at "remove" time.  This prevents
the device from being unregistered while dmaengine clients are still
active.  Also, the comment on ioat_remove is stale since removal is prevented
while a channel may be in use.

Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat.c